mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
22 lines
303 B
TypeScript
22 lines
303 B
TypeScript
import {App, Page} from '../../../../../ionic';
|
|
|
|
|
|
@Page({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class PageOne {
|
|
url;
|
|
input1: string = 'Text 1';
|
|
|
|
onEvent(event) {
|
|
console.log("Did Event:", event.type);
|
|
}
|
|
}
|
|
|
|
@App({
|
|
template: '<ion-nav [root]="root"></ion-nav>'
|
|
})
|
|
class E2EApp {
|
|
root = PageOne;
|
|
}
|