abpetkov / switchery

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

Need initialization if dynamically created? #97

Open dannysh1 opened 8 years ago

dannysh1 commented 8 years ago

If I set the checkbox regularly, they act as expected (toggled, etc.), but if I create them dynamically, the checkbox look and style is okay (the switchery style) but it doesn't react to clicks (doesn't toggle).

Do I need to initialize the checkboxes? cause I don't initialize them otherwise...

Thanks Danny

yaoyonstudio commented 7 years ago

+1