abpetkov / switchery

iOS 7 style switches for your checkboxes
http://abpetkov.github.io/switchery/
2.06k stars 479 forks source link

Prevent check based on condition #159

Open minedun6 opened 6 years ago

minedun6 commented 6 years ago

When a user changes the switch I need to check a variable and if true then it can be switched, else not.

Is this possible?