Skip to content

Latest commit

 

History

History
84 lines (58 loc) · 4.26 KB

CHANGELOG.md

File metadata and controls

84 lines (58 loc) · 4.26 KB

Changelog

3.4

  • Full Bootstrap 4 integration of CSS + sources SASS/SCSS

3.3.4

  • Fix Object.assign not working for IE <= 11 #616

3.3.3

  • Deprecate CoffeeScript in favour of ES6+ with Babel
  • Updated and restored documentation

3.3.2

  • Fix for Flicker on initialisation #425, #422
  • Prevent horizontal misalignment inside modal in page with odd width #414

3.3.1

  • Revert of switchChange event triggered only on falsy skip #411

3.3.0

  • Fixed setting of correct state on drag from indeterminate state #403
  • Fixed broken state changing on hidden switch [#392, #383
  • Missing animation on first state change triggered by side click #390
  • SwitchChange event always triggered after change event #389
  • Skip check for transitionend event on init #381
  • Added stopPropagation on element mousedown #369
  • Fixed wrong descrition in documentation #351

3.2.2

  • Fixed wrong rendering of switch on initialisation if element is hidden #376

3.2.1

  • Hotfix for broken initialisation logic if $.support.transition is not set #375

3.2.0

  • Added option and method handleWidth to set a specific width of the side handled #341
  • Added option and method labelWidth to set a specific width of the center label #341
  • Fixed broken toggling of side handles when switch is wrapped in a external label #359
  • Minor refactoring all along the source code

3.1.0

  • Added inverse option to swap the position of the left and right elements #207
  • Fixed misalignment on Safari #223
  • Added options toggleAnimate method
  • Enhanced documentation with new examples

3.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

3.0.1

  • Added support for intermediate state #218
  • Added change event triggered on label click #299
  • Added onInit and onSwitchChange event as methods

3.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 baseClass and wrapperClass options
  • New onInit event
  • Event namespacing
  • Full Bootstrap 3 support
  • A lot of fixed bug, as usual