end

Fires on mouseup / touchend and touchcancel.


The callback has three 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("end", function(e, selected, unselected) {
    //
});

Last updated