mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
25 lines
383 B
TypeScript
25 lines
383 B
TypeScript
import {Component} from '@angular/core';
|
|
import {ionicBootstrap} from '../../../../../src';
|
|
|
|
|
|
@Component({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class PageOne {
|
|
url;
|
|
input1: string = 'Text 1';
|
|
|
|
onEvent(event) {
|
|
console.log("Did Event:", event.type);
|
|
}
|
|
}
|
|
|
|
@Component({
|
|
template: '<ion-nav [root]="root"></ion-nav>'
|
|
})
|
|
class E2EApp {
|
|
root = PageOne;
|
|
}
|
|
|
|
ionicBootstrap(E2EApp);
|