Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewjbateman/ionic-angular-multmenus
:clipboard: Tutorial from Simon Grimm of the Ionic Academy to create an app with 2 side menus
https://github.com/andrewjbateman/ionic-angular-multmenus
angular angular15 html5 ionic ionic-academy ionic6 menus scss-styles sidemenu tutorial-code typescript4
Last synced: about 1 month ago
JSON representation
:clipboard: Tutorial from Simon Grimm of the Ionic Academy to create an app with 2 side menus
- Host: GitHub
- URL: https://github.com/andrewjbateman/ionic-angular-multmenus
- Owner: AndrewJBateman
- License: mit
- Created: 2020-01-25T20:26:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T06:08:22.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T03:36:10.580Z (3 months ago)
- Topics: angular, angular15, html5, ionic, ionic-academy, ionic6, menus, scss-styles, sidemenu, tutorial-code, typescript4
- Language: TypeScript
- Homepage:
- Size: 1.63 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :zap: Ionic Multiple Menus
* App that displays different menus for tabs 1 and 2.
* Tutorial code from [Simon Grimm of the Ionic Academy](https://www.youtube.com/user/saimon1924) see [:clap: Inspiration](#clap-inspiration) below
* **Note:** to open web links in a new window use: _ctrl+click on link_![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/ionic-angular-multMenus?style=plastic)
![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/ionic-angular-multMenus?style=plastic)
![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/ionic-angular-multMenus?style=plastic)
![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/ionic-angular-multMenus?style=plastic)## :page_facing_up: Table of contents
* [:zap: Ionic Multiple Menus](#zap-ionic-multiple-menus)
* [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)
* [:books: General info](#books-general-info)
* [:camera: Screenshots](#camera-screenshots)
* [:signal_strength: Technologies](#signal_strength-technologies)
* [:floppy_disk: Setup](#floppy_disk-setup)
* [:computer: Code Examples](#computer-code-examples)
* [:cool: Features](#cool-features)
* [:clipboard: Status & To-do list](#clipboard-status--to-do-list)
* [:clap: Inspiration](#clap-inspiration)
* [:file_folder: License](#file_folder-license)
* [:envelope: Contact](#envelope-contact)## :books: General info
* Tab1 and Tab2 both contain ion-menus and a side-bar with routing to 2 pages.
## :camera: Screenshots
![Ionic page](./img/menu1.png)
![Ionic page](./img/menu2.png)## :signal_strength: Technologies
* [Ionic v6](https://ionicframework.com/)
* [Angular v15](https://angular.io/)
* [Ionic/angular v6](https://www.npmjs.com/package/@ionic/angular)## :floppy_disk: Setup
* Run `npm i` to install dependencies
* To start the server on _localhost://8100_ type: 'ionic serve'## :computer: Code Examples
* Tab1 page code to show first (of two) menus using the [Ionic MenuController provider](https://ionicframework.com/docs/v3/api/components/app/MenuController/).
```typescript
export class Tab1Page {
panelEnabled = true;
constructor(private menuController: MenuController) {}ionViewWillEnter() {
this.panelEnabled = true;
this.menuController.enable(true, 'first');
}ionViewWillLeave() {
this.panelEnabled = false;
}
```## :cool: Features
* Uses a `panelEnabled` boolean value to control menu disabling.
## :clipboard: Status & To-do list
* Status: Working.
* To-do: Nothing.## :clap: Inspiration
* [Simon Grimm, Ionic Academy Tutorial: Multiple Side Menus With Ionic Tab Bar](https://www.youtube.com/watch?v=4VYC725VMNA)
## :file_folder: License
* This project is licensed under the terms of the MIT license.
## :envelope: Contact
* Repo created by [ABateman](https://github.com/AndrewJBateman), email: [email protected]