mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
25 lines
363 B
TypeScript
25 lines
363 B
TypeScript
import {Component} from '@angular/core';
|
|
import {ionicBootstrap} from '../../../../../src';
|
|
|
|
|
|
@Component({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class E2EPage {
|
|
paused: boolean = false;
|
|
|
|
toggleState() {
|
|
this.paused = !this.paused;
|
|
}
|
|
}
|
|
|
|
|
|
@Component({
|
|
template: '<ion-nav [root]="root"></ion-nav>'
|
|
})
|
|
class E2EApp {
|
|
root = E2EPage;
|
|
}
|
|
|
|
ionicBootstrap(E2EApp);
|