Angular Material Sidemenu
Introduction
This is a package to create navigation menus using Angular Material. This follows all guidelines provided by Google.
Installation
This package can be installed using npm and bower:
npm install angular-material-sidemenu
bower install angular-material-sidemenu
Usage
Include the script and css files in you html and add ngMaterialSidemenu
in you module. Also this module has support for browserify.
After that you can add the following markup:
Caption Submenu 1 Submenu 2 Submenu 3 Caption Menu 4
The <md-sidemenu>
is the main directive to hold all navigation items.
The <md-sidemenu-group>
is needed to create groups of content.
The <md-sidemenu-content>
define the collapsible navigation element and theres some attributes to setup. The md-icon
add an icon before the md-heading
and the md-arrow
add an arrow after the heading.
The <md-sidemenu-button>
add the buttons inside the navigation.
Pretty easy!
License
MIT