mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
14 lines
173 B
TypeScript
14 lines
173 B
TypeScript
import {App} from 'ionic-angular';
|
|
|
|
|
|
@App({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class E2EApp {
|
|
paused: boolean = false;
|
|
|
|
toggleState() {
|
|
this.paused = !this.paused;
|
|
}
|
|
}
|