Skip to content

advancedcontrol/angular-named-toggle

Repository files navigation

Angular Named Toggle

screen shot of demo

Supports variable length names on the switch

Installation

  1. Open bower.json
  2. Add "angular-named-toggle": "latest" to your dependency list
  3. Run bower install
  4. In your application you can now add:
    • <script src="bower_components/angular-named-toggle.js"></script>
  5. Import the SCSS files into your SCSS using the @import directive i.e.
    • @import "../../bower_components/angular-named-toggle.scss"
  6. Include the CSS using the mixin
    • @include named-toggle(options: opt-value, ..)

Usage

See the demo file