Skip to content

Releases: abpetkov/switchery

0.8.2

Choose a tag to compare

@abpetkov abpetkov released this 31 Oct 22:31

#104 Check switchery element state before changing it
#96 Adding semicolon to the end of the distribuition file

0.8.1

Choose a tag to compare

@abpetkov abpetkov released this 26 Jun 08:31
  • Fixing #73. The .isDisabled() method was returning wrong values after triggering the .disable() method, because of incorrect logic in the latter method.

0.8.0

Choose a tag to compare

@abpetkov abpetkov released this 03 Apr 07:26

This release includes several new features, which include:

  • A proper way to unbind event handlers attached to the Switchery object instance, using the brand new .destroy() method (#54)
  • Enable or disable switch dynamically via the .enable() and .disable() methods (#30)
  • Add Meteor.js support - Atmosphere package here (#54)
  • Add secondary jack color option. Check README for more info. (requested by @ronnyfly2 on Twitter)

0.7.0

Choose a tag to compare

@abpetkov abpetkov released this 04 Jan 09:24

The main feature of this release is the option to use small and/or large sized switches. This is possible via the size setting. The two valid options to pass are small and large. Anything else will result in rendering the default size of the switch. All of the sizes are defined within our main CSS file.

Another addition is respecting the native checkbox readonly attribute, which if present will disable the switch.