Files
2015-08-12 22:39:53 -05:00

31 lines
407 B
TypeScript

import {App, IonicApp, IonicView, NavController} from 'ionic/ionic';
@IonicView({
templateUrl: 'home-page.html'
})
class HomePage {
constructor(app: IonicApp) {
this.app = app;
}
toggleAside() {
console.log('toggleAside')
this.app.getComponent('mainMenu').toggle();
}
}
@App({
templateUrl: 'main.html'
})
class E2EApp {
constructor() {
this.rootView = HomePage;
}
}