mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00

- add spacing between imports - alphabetize imports - removed app.html files in favor of an inline ion-nav - cleaned up config demo so it uses proper syntax - use file name main.html for the first page for the demo - name the app ApiDemoApp and first page ApiDemoPage - replace the ion-toolbars with ion-navbars closes #7019 closes driftyco/ionic-site#647
21 lines
631 B
HTML
21 lines
631 B
HTML
<ion-header>
|
|
|
|
<ion-navbar>
|
|
<ion-title>Toast</ion-title>
|
|
</ion-navbar>
|
|
|
|
</ion-header>
|
|
|
|
|
|
<ion-content padding>
|
|
|
|
<button block (click)="showToast('bottom')">Show Toast Bottom Position</button>
|
|
<button block (click)="showToast('top')">Show Toast Top Position</button>
|
|
<button block (click)="showToast('middle')">Show Toast Middle Position</button>
|
|
<button block margin-bottom (click)="showLongToast()">Show Long Toast</button>
|
|
|
|
<button block (click)="showDismissDurationToast()">Show Custom Duration Toast</button>
|
|
<button block (click)="showToastWithCloseButton()">Show Close Button Toast</button>
|
|
|
|
</ion-content>
|