mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
30 lines
371 B
TypeScript
30 lines
371 B
TypeScript
import {App, Alert} from 'ionic/ionic';
|
|
|
|
|
|
@App({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class E2EApp {
|
|
|
|
constructor() {
|
|
this.alertOpen = false;
|
|
this.confirmOpen = false;
|
|
this.confirmResult = '';
|
|
this.promptOpen = false;
|
|
this.promptResult = '';
|
|
}
|
|
|
|
doAlert() {
|
|
debugger;
|
|
let alert = Alert.create();
|
|
}
|
|
|
|
doPrompt() {
|
|
|
|
}
|
|
|
|
doConfirm() {
|
|
|
|
}
|
|
}
|