v1.7.0
版本发布时间: 2014-03-31 02:30:09
Bttstrp/bootstrap-switch最新发布版本:v3.3.4(2017-02-26 02:30:41)
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 one -
setOffLabel
changes the "Off" text with a custom one -
setOnClass
sets the "On" class (info
,success
, etc.) -
setOffClass
sets the "Off" class (info
,success
, etc.) -
setAnimated
changes thedata-animated
attribute, thus changing the animation behavior -
setSizeClass
sets the size of the component