β‘ Ionic Multiple Menus
π Table of contents
π General info
- Tab1 and Tab2 both contain ion-menus and a side-bar with routing to 2 pages.
π· Screenshots
πΆ Technologies
πΎ Setup
- Run
npm i
to install dependencies
- To start the server on localhost://8100 type: 'ionic serve'
π» Code Examples
export class Tab1Page {
panelEnabled = true;
constructor(private menuController: MenuController) {}
ionViewWillEnter() {
this.panelEnabled = true;
this.menuController.enable(true, 'first');
}
ionViewWillLeave() {
this.panelEnabled = false;
}
π Features
- Uses a
panelEnabled
boolean value to control menu disabling.
π Status & To-do list
- Status: Working.
- To-do: Nothing.
π Inspiration
π License
- This project is licensed under the terms of the MIT license.
βοΈ Contact