Skip to content

Releases: Mobius1/Selectable

v0.22.0

12 Oct 16:37
Compare
Choose a tag to compare

API Changes

  • Added once() method to allow an event to be fired once only (See docs)
  • Added undo() and redo() methods as aliases of state('undo') and state('redo') respectively
  • Added handle option to only allow selection to start from that element (See docs)
  • Added destroyed event (See docs)
  • Changed toggle() method to allow passing a boolean as the second argument to force the state (See docs)
  • Deprecated bind() and unbind() methods and added more semantic attachEvents() and detachEvents()
  • Deprecated appendTo option and added the container option as a replacement (See docs)

Fixes

  • Fixed mouseover event not being removed when destroying or disabling an instance

Perfrormance Tweaks

  • Replaced slower forEach loops
  • Removed the classList shim in favour of the native Element.classList property

v0.21.1

11 Oct 14:07
Compare
Choose a tag to compare

Hotfix

  • Restored appendTo backwards compatibility that was removed in v0.21.0.

v0.21.0

11 Oct 11:07
Compare
Choose a tag to compare
  • Added deselecting event

Breaking Changes

  • Changed appendTo option to container

v0.20.0

09 Oct 16:56
Compare
Choose a tag to compare

Additions

  • Added 'selecting' event (#63 ) (see docs)

Breaking Changes

  • Removed selectable.* prefixes from event names (See the event docs)

v0.19.1

01 Jul 10:01
Compare
Choose a tag to compare

Fixes #59

v0.19.0

16 Jun 08:01
Compare
Choose a tag to compare

Bugfixes

Fixes #58

API Changes

  • Added getFirstSelectedItem()
  • Added getFirstSelectedNode()

v0.18.0

27 Apr 10:16
Compare
Choose a tag to compare
  • Added getUnSelectedItems() method
  • Added getUnSelectedNodes() method

v0.17.8

08 Sep 14:02
Compare
Choose a tag to compare

Fixes

  • Fixed an error when using shift select and clicking container (#39 )
  • Fixed an error when using maxSelectable and toggle together (#29 )

Changed

v0.17.7

29 Jun 14:24
Compare
Choose a tag to compare

Fixes

  • Fixed IE errors

0.17.6

05 Jun 09:46
Compare
Choose a tag to compare
  • Update license