mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
committed by
Adam Bradley
parent
93616c4676
commit
fcc515f5d7
@@ -122,7 +122,10 @@ export class FirstPage {
|
||||
}
|
||||
|
||||
pushPrimaryHeaderPage() {
|
||||
this.navCtrl.push(PrimaryHeaderPage).then(() => {}, (rejectReason: string) => {
|
||||
this.navCtrl.push(PrimaryHeaderPage, null, {
|
||||
animate: true,
|
||||
animation: 'ios-transition'
|
||||
}).then(() => { }, (rejectReason: string) => {
|
||||
});
|
||||
}
|
||||
|
||||
@@ -132,12 +135,18 @@ export class FirstPage {
|
||||
}
|
||||
|
||||
pushFullPage() {
|
||||
this.navCtrl.push(FullPage, { id: 8675309, myData: [1, 2, 3, 4] }).catch(() => {
|
||||
this.navCtrl.push(FullPage, { id: 8675309, myData: [1, 2, 3, 4] }, {
|
||||
animate: true,
|
||||
animation: 'md-transition'
|
||||
}).catch(() => {
|
||||
});
|
||||
}
|
||||
|
||||
pushAnother() {
|
||||
this.navCtrl.push(AnotherPage).catch(() => {
|
||||
this.navCtrl.push(AnotherPage, null, {
|
||||
animate: true,
|
||||
animation: 'wp-transition'
|
||||
}).catch(() => {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user