mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
test(): update to public navCtrl convention
This commit is contained in:
@ -11,7 +11,7 @@ class IntroPage {
|
||||
mySlideOptions: any;
|
||||
showSlide: boolean = true;
|
||||
|
||||
constructor(private nav: NavController) {
|
||||
constructor(public navCtrl: NavController) {
|
||||
this.mySlideOptions = {
|
||||
paginationClickable: true,
|
||||
lazyLoading: true,
|
||||
@ -38,7 +38,7 @@ class IntroPage {
|
||||
}
|
||||
|
||||
skip() {
|
||||
this.nav.push(MainPage);
|
||||
this.navCtrl.push(MainPage);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user