mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +08:00
test(): update to public navCtrl convention
This commit is contained in:
@ -8,12 +8,12 @@ import { ionicBootstrap, NavController } from '../../../../../src';
|
||||
class SegmentPage {
|
||||
signInType: string;
|
||||
|
||||
constructor(public nav: NavController) {
|
||||
constructor(public navCtrl: NavController) {
|
||||
this.signInType = 'new';
|
||||
}
|
||||
|
||||
goToPage2() {
|
||||
this.nav.push(SegmentPage2);
|
||||
this.navCtrl.push(SegmentPage2);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user