v1.7.0
Fixed the problem with the class ".switch" in other plugins:
- change ".switch" to ".make-switch"
- Update to jQuery 1.9.1
- Update to twitter-bootstrap v2.3.2
- Update bootstrap-switch to v1.7
Added methods for changing values after initialization by frapontillo:
setOnLabel
changes the "On" text with a custom onesetOffLabel
changes the "Off" text with a custom onesetOnClass
sets the "On" class (info
,success
, etc.)setOffClass
sets the "Off" class (info
,success
, etc.)setAnimated
changes thedata-animated
attribute, thus changing the animation behaviorsetSizeClass
sets the size of the component