cgarvis / angular-toggle-switch

AngularJS Toggle Switch
http://cgarvis.github.io/angular-toggle-switch
MIT License
160 stars 124 forks source link

API to Control Toggle Switch #9

Closed bontorhumala closed 11 years ago

bontorhumala commented 11 years ago

Can I toggle the switch via a function call? In my case, a button is used to control all other button/value, so that when that master button is ON, all other button is ON and vice versa

cgarvis commented 11 years ago

I'm assuming you figure out that you can change the model and have the switch change.