Browse Source

linked registration button to mainMenu

Kris Blassingame 6 years ago
parent
commit
781a02f19d

+ 3
- 0
frontEnd/src/pages/register/register.html View File

19
         </ion-item>
19
         </ion-item>
20
       
20
       
21
       </ion-list>
21
       </ion-list>
22
+      <button ion-button block (click)="register()">
23
+          <b>Register</b>
24
+        </button>
22
 </ion-content>
25
 </ion-content>

+ 6
- 0
frontEnd/src/pages/register/register.ts View File

1
 import { Component } from '@angular/core';
1
 import { Component } from '@angular/core';
2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
+import { MainMenuPage } from '../main-menu/main-menu';
3
 
4
 
4
 /**
5
 /**
5
  * Generated class for the RegisterPage page.
6
  * Generated class for the RegisterPage page.
22
     console.log('ionViewDidLoad RegisterPage');
23
     console.log('ionViewDidLoad RegisterPage');
23
   }
24
   }
24
 
25
 
26
+  register() {
27
+    this.navCtrl.setRoot(MainMenuPage);
28
+
29
+  }
30
+
25
 }
31
 }