mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
25 lines
709 B
HTML
25 lines
709 B
HTML
<ion-navbar *navbar>
|
|
<ion-title>Modals</ion-title>
|
|
</ion-navbar>
|
|
|
|
<ion-content>
|
|
<div padding>
|
|
<button block (click)="openBasicModal()">Open Basic Modal</button>
|
|
<!-- <button block secondary (click)="openCustomAnimationModal()">Open with Custom Animation</button> -->
|
|
</div>
|
|
|
|
<ion-list no-margin>
|
|
<ion-list-header>
|
|
Enter Parameters to Pass to the Modal
|
|
</ion-list-header>
|
|
<ion-item>
|
|
<ion-label>Parameters</ion-label>
|
|
<ion-input [(ngModel)]="myParam" type="text" placeholder="Enter Parameters"></ion-input>
|
|
</ion-item>
|
|
</ion-list>
|
|
|
|
<div padding>
|
|
<button block danger (click)="openModalWithParams()">Open with Parameters</button>
|
|
</div>
|
|
</ion-content>
|