Skip to content

v1.7.0

Compare
Choose a tag to compare
@BdMdesigN BdMdesigN released this 30 Mar 18:30
· 480 commits to master since this release

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 the data-animated attribute, thus changing the animation behavior
  • setSizeClass sets the size of the component