mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
committed by
Adam Bradley
parent
1c882b31a5
commit
ec99bfd019
@@ -136,8 +136,8 @@ class E2EPage {
|
||||
this.testPromptOpen = true;
|
||||
});
|
||||
|
||||
alert.onDismiss((data: any, role: any) => {
|
||||
console.log('onDismiss, data:', data, 'role:', role);
|
||||
alert.onDidDismiss((data: any, role: any) => {
|
||||
console.log('onDidDismiss, data:', data, 'role:', role);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ export class E2EPage {
|
||||
]
|
||||
});
|
||||
|
||||
alert.onDismiss(() => {
|
||||
alert.onDidDismiss(() => {
|
||||
console.log('dismiss');
|
||||
this.nav.push(AnotherPage);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user