mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
38 lines
835 B
TypeScript
38 lines
835 B
TypeScript
import {App, IonicApp, Page} from 'ionic/ionic';
|
|
import {forwardRef} from 'angular2/angular2';
|
|
import * as helpers from '../../helpers';
|
|
|
|
@Page({
|
|
templateUrl: 'menus/basic/menu-home.html',
|
|
directives: [forwardRef(() => helpers.AndroidAttribute)]
|
|
})
|
|
export class BasicPage{
|
|
constructor(app: IonicApp) {
|
|
this.app = app;
|
|
this.app.getComponent('leftMenu').enable(true);
|
|
}
|
|
}
|
|
|
|
@Page({
|
|
templateUrl: 'menus/basic/menu-home.html',
|
|
directives: [forwardRef(() => helpers.AndroidAttribute)]
|
|
})
|
|
export class PageOne{
|
|
constructor() {
|
|
}
|
|
}
|
|
|
|
@Page({
|
|
templateUrl: 'menus/basic/menu-friends.html',
|
|
directives: [forwardRef(() => helpers.AndroidAttribute)]
|
|
})
|
|
export class PageTwo{
|
|
}
|
|
|
|
@Page({
|
|
templateUrl: 'menus/basic/menu-events.html',
|
|
directives: [forwardRef(() => helpers.AndroidAttribute)]
|
|
})
|
|
export class PageThree{
|
|
}
|