mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Stuff
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
<ion-view>
|
||||
<button (click)="showAlert()">Alert</button>
|
||||
<!--
|
||||
<ion-alert>
|
||||
|
||||
<ion-alert>
|
||||
|
||||
</ion-alert>
|
||||
</ion-alert>
|
||||
-->
|
||||
</ion-view>
|
||||
|
||||
@@ -11,6 +11,12 @@ class IonicApp {
|
||||
constructor() {
|
||||
console.log('IonicApp Start')
|
||||
}
|
||||
showAlert() {
|
||||
console.log('Show alert');
|
||||
|
||||
Alert.open({
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
bootstrap(IonicApp)
|
||||
|
||||
Reference in New Issue
Block a user