mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
26 lines
617 B
TypeScript
26 lines
617 B
TypeScript
import {NavController, NavParams} from 'ionic/ionic';
|
|
import {Page, ViewController} from 'ionic/ionic';
|
|
import {forwardRef} from 'angular2/angular2';
|
|
import * as helpers from '../helpers';
|
|
|
|
@Page({
|
|
template: 'Hello 1',
|
|
directives: [forwardRef(() => helpers.AndroidAttribute)]
|
|
})
|
|
class TabOneCtrl {
|
|
constructor(nav: NavController, view: ViewController) {
|
|
this.nav = nav;
|
|
this.view = view;
|
|
}
|
|
}
|
|
|
|
@Page({
|
|
templateUrl: 'tabs/tabs.html',
|
|
directives: [forwardRef(() => helpers.AndroidAttribute)]
|
|
})
|
|
export class TabsPage {
|
|
constructor(nav: NavController, params: NavParams) {
|
|
this.nav = nav;
|
|
}
|
|
}
|