AndrewJBateman / ionic-angular-multMenus

:clipboard: Tutorial from Simon Grimm of the Ionic Academy to create an app with 2 side menus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚑ Ionic Multiple Menus

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

πŸ“„ Table of contents

πŸ“š General info

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

πŸ“· Screenshots

Ionic page Ionic page

πŸ“Ά 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

About

:clipboard: Tutorial from Simon Grimm of the Ionic Academy to create an app with 2 side menus

License:MIT License


Languages

Language:TypeScript 70.6%Language:HTML 12.6%Language:SCSS 11.4%Language:JavaScript 5.4%