โก Ionic Multiple Menus
![GitHub last commit](https://camo.githubusercontent.com/2ebbe7daa34cea3cc3ca67330635641ea6127e1e09f54a4bb0aaa6e3e4f3bc71/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f416e647265774a426174656d616e2f696f6e69632d616e67756c61722d6d756c744d656e75733f7374796c653d706c6173746963)
๐ Table of contents
๐ General info
- Tab1 and Tab2 both contain ion-menus and a side-bar with routing to 2 pages.
๐ท Screenshots
![Ionic page](./img/menu2.png)
๐ถ 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