Releases: Mobius1/Selectable
Releases · Mobius1/Selectable
v0.14.1
Changes
Changed event names:
selectable.init
=>init
selectable.update
=>update
selectable.refresh
=>refresh
selectable.start
=>start
selectable.drag
=>drag
selectable.end
=>end
selectable.select
=>selecteditem
selectable.deselect
=>deselecteditem
selectable.state
=>state
selectable.enable
=>enable
selectable.disable
=>disable
The old event names are deprecated and will be removed in v0.16.0
.
Added events:
selectable.addeditem
- fires when an item is added to the instance.selectable.removeditem
- fires when an item is removed from the instance.
v0.14.0
Breaking Changes
recalculate()
method renamed torefresh()
.unselect()
method renamed todeselect()
.selectable.recalculate
event renamed toselectable.refresh
.- Classname
ui-unselecting
changed toui-deselecting
item.unselecting
state changed toitem.deselecting
- Default
autoScroll.increment
reduced to10
to slow autoscrolling down.
New Additions
- Added
state()
method. See Using States - New keyboard commands:
ctrl + a
- selects all itemsctrl + z
- undo last selectionctrl + y
- redo last selection
Fixes
- Prevent lasso overflowing container in both
x
andy
direction when using a scrollable container.