mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
19 lines
258 B
TypeScript
19 lines
258 B
TypeScript
import {App, IonicApp} from 'ionic/ionic';
|
|
|
|
|
|
@App({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class E2EApp {
|
|
|
|
constructor(app: IonicApp) {
|
|
this.app = app;
|
|
}
|
|
|
|
toggleAside() {
|
|
console.log('toggleAside')
|
|
this.app.getComponent('mainMenu').toggle();
|
|
}
|
|
|
|
}
|