mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
27 lines
680 B
HTML
27 lines
680 B
HTML
<ion-navbar *navbar>
|
|
<ion-title>Modals</ion-title>
|
|
</ion-navbar>
|
|
|
|
<ion-content padding>
|
|
<ion-row>
|
|
<button secondary clear (click)="openBasicModal()">Open Basic Modal</button>
|
|
</ion-row>
|
|
|
|
<!-- <ion-row>
|
|
<button secondary outline (click)="openCustomAnimationModal()">Open With Custom Animation</button>
|
|
</ion-row> -->
|
|
|
|
<ion-row>
|
|
<ion-col>
|
|
<button secondary (click)="openModalWithParams()">Pass Params</button>
|
|
</ion-col>
|
|
<ion-col>
|
|
<ion-item>
|
|
<ion-label floating>Params</ion-label>
|
|
<ion-input [(ngModel)]="myParam" type="text"></ion-input>
|
|
{{ myParam }}
|
|
</ion-item>
|
|
</ion-col>
|
|
</ion-row>
|
|
</ion-content>
|