Releases: Bttstrp/bootstrap-switch
Releases · Bttstrp/bootstrap-switch
v3.0.2
- Added radioAllOff option. allow a group of radio inputs to be all off #322
- Made HTML options overridable by JavaScript initalization options #319
- .form-control does not interfere anymore with the switch appearance #318
- Fixed triggering of two events in case of jQuery id selector #317
- Fixed internal switching loop when toggling with spacebar #316
- Fixed switch label toggling not working with radio inputs #312
v3.0.1
v3.0.0
- API redesign for a more intuitive use
- Entire code source rewriting focused on cleanliness and performance
- Initialization options can be passed as JavaScript object or written as
data-* - Plugin constructor publicly available from
$.fn.bootstrapSwitch.Constructor - Plugin instance publicly available calling
.data('bootstrap-switch') - Global overridable defaults options
- Improved flexibility with
baseClassandwrapperClassoptions - New
onInitevent - Event namespacing
- Full Bootstrap 3 support
- A lot of fixed bug, as usual
v1.8.0
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:
setOnLabelchanges the "On" text with a custom onesetOffLabelchanges the "Off" text with a custom onesetOnClasssets the "On" class (info,success, etc.)setOffClasssets the "Off" class (info,success, etc.)setAnimatedchanges thedata-animatedattribute, thus changing the animation behaviorsetSizeClasssets the size of the component