Skip to content

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) {

});
Clone this wiki locally