angular-mn-sidenav
An angular directive and service to mn-sidenav
See the demo
Install
npm install --save angular-mn-sidenav
And bundle dependencies and main files in dist/ with your preferred tool.
Usage
// add dependency in you moduleangular;
And then, in your html, you can use the directive mn-sidenav
<!-- content here -->
For more details check docs mn-sidenav docs.
Now, about service, you can use the service $mnSidenav
, like below:
angular { // to open, call method open with id of sidenav $mnSidenav // to close sidenav visible, just call .close() $mnSidenav}