mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
chore(demos): move app tests to demos
This commit is contained in:
12
demos/sink/sink-page.ts
Normal file
12
demos/sink/sink-page.ts
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Simple wrapper page for the side menu toggle.
|
||||
*/
|
||||
export class SinkPage {
|
||||
constructor(app: IonicApp) {
|
||||
this.app = app;
|
||||
}
|
||||
toggleMenu() {
|
||||
let aside = this.app.getComponent('mainMenu');
|
||||
aside.toggle();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user