0.6.1 • Published 9 years ago
togg v0.6.1
togg
Angular UI directive to end all UI directives. Toggle classes, attributes, properties. Live your toggle dreams.
Interactive Examples
Attributes
- togg-scope: applicable scope
- togg-event: event(s) to listen to
- togg-class: classes to toggle when event occurs
- togg-attr: attribute to toggle when event occurs
- togg-prop: property to toggle when event occurs
- togg-state: force state- trueor- falsefrom event target
- togg-triggeradditional events to trigger when event occurs
- togg-method: jQuery method to invoke when event occurs
Setup
npm
npm install togg --saveDeclare dependency on your app
angular.module('yourApp', ['togg'])