xpepermint / angular-ui-switch

On/off switch button for AngularJS. DEPRECATED!
278 stars 125 forks source link

Created attribute "invert" which inverts the way the switch shows the… #27

Open iJungleboy opened 8 years ago

iJungleboy commented 8 years ago

… property. Ideal for many cases where the internal boolean value shows the opposite of the intuitive switch - like if the boolean is "dontShoot" but you want it to show this as a good-state as if it were "isSafe"