mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
chore(demo): tidy
This commit is contained in:
@ -48,7 +48,7 @@ export class AlertPageComponent {
|
|||||||
|
|
||||||
});
|
});
|
||||||
alert.present().then(() => {
|
alert.present().then(() => {
|
||||||
return alert.dismiss();
|
// return alert.dismiss();
|
||||||
|
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
console.log('dismissed');
|
console.log('dismissed');
|
||||||
|
@ -11,6 +11,11 @@ import { PopoverPageToPresent } from './popover-page-to-present';
|
|||||||
<ion-header>
|
<ion-header>
|
||||||
<ion-toolbar>
|
<ion-toolbar>
|
||||||
<ion-title>Test</ion-title>
|
<ion-title>Test</ion-title>
|
||||||
|
<ion-buttons slot="end">
|
||||||
|
<ion-button (click)="clickMe()">
|
||||||
|
No event passed
|
||||||
|
</ion-button>
|
||||||
|
</ion-buttons>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
</ion-header>
|
</ion-header>
|
||||||
<ion-content padding>
|
<ion-content padding>
|
||||||
|
Reference in New Issue
Block a user