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