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