chore(demo): tidy

This commit is contained in:
mhartington
2018-01-09 10:32:56 -05:00
parent 45854c993f
commit acd4d9a270
3 changed files with 17 additions and 12 deletions

View File

@ -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');

View File

@ -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>