Browse Source

Adding loading pages

Jorge Baquero 7 years ago
parent
commit
4e66dc0b61

+ 18 - 0
src/pages/loading/loading.html View File

@@ -0,0 +1,18 @@
1
+<!--
2
+  Generated template for the LoadingPage page.
3
+
4
+  See http://ionicframework.com/docs/components/#navigation for more info on
5
+  Ionic pages and navigation.
6
+-->
7
+<ion-header>
8
+
9
+  <ion-navbar>
10
+    <ion-title>loading</ion-title>
11
+  </ion-navbar>
12
+
13
+</ion-header>
14
+
15
+
16
+<ion-content padding>
17
+
18
+</ion-content>

+ 13 - 0
src/pages/loading/loading.module.ts View File

@@ -0,0 +1,13 @@
1
+import { NgModule } from '@angular/core';
2
+import { IonicPageModule } from 'ionic-angular';
3
+import { LoadingPage } from './loading';
4
+
5
+@NgModule({
6
+  declarations: [
7
+    LoadingPage,
8
+  ],
9
+  imports: [
10
+    IonicPageModule.forChild(LoadingPage),
11
+  ],
12
+})
13
+export class LoadingPageModule {}

+ 3 - 0
src/pages/loading/loading.scss View File

@@ -0,0 +1,3 @@
1
+page-loading {
2
+
3
+}

+ 25 - 0
src/pages/loading/loading.ts View File

@@ -0,0 +1,25 @@
1
+import { Component } from '@angular/core';
2
+import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
+
4
+/**
5
+ * Generated class for the LoadingPage page.
6
+ *
7
+ * See https://ionicframework.com/docs/components/#navigation for more info on
8
+ * Ionic pages and navigation.
9
+ */
10
+
11
+@IonicPage()
12
+@Component({
13
+  selector: 'page-loading',
14
+  templateUrl: 'loading.html',
15
+})
16
+export class LoadingPage {
17
+
18
+  constructor(public navCtrl: NavController, public navParams: NavParams) {
19
+  }
20
+
21
+  ionViewDidLoad() {
22
+    console.log('ionViewDidLoad LoadingPage');
23
+  }
24
+
25
+}