Supports variable length names on the switch
- Open bower.json
- Add
"angular-named-toggle": "latest"to your dependency list - Run
bower install - In your application you can now add:
<script src="bower_components/angular-named-toggle.js"></script>
- Import the SCSS files into your SCSS using the
@importdirective i.e.@import "../../bower_components/angular-named-toggle.scss"
- Include the CSS using the mixin
@include named-toggle(options: opt-value, ..)
See the demo file
