This repository was archived by the owner on Jul 10, 2025. It is now read-only.
-
Couldn't load subscription status.
- Fork 21
selectable.end
Karl edited this page Oct 3, 2018
·
4 revisions
Fires on mouseup / touchend and touchcancel.
The callback has two parameters.
The first parameter returns the original mousedown / touchstart event.
The second parameter returns an Array of selected items from the current selection - i.e, the items selected since the last mousedown / touchstart event.
The third parameter returns an Array of unselected items - i.e. the items that were unselected during the current selection.
selectable.on("selectable.end", function(e, selected, unselected) {
});