⚡ Ionic Multiple Menus

- Tab1 and Tab2 both contain ion-menus and a side-bar with routing to 2 pages.

- Run
npm i to install dependencies
- To start the server on localhost://8100 type: 'ionic serve'
export class Tab1Page {
panelEnabled = true;
constructor(private menuController: MenuController) {}
ionViewWillEnter() {
this.panelEnabled = true;
this.menuController.enable(true, 'first');
}
ionViewWillLeave() {
this.panelEnabled = false;
}
- Uses a
panelEnabled boolean value to control menu disabling.
- Status: Working.
- To-do: Nothing.
- This project is licensed under the terms of the MIT license.