-
Notifications
You must be signed in to change notification settings - Fork 21
selectable.select
Karl edited this page Nov 9, 2017
·
4 revisions
Fires when an item is selected.
The callback has one parameter which returns a reference to the selected item.
selectable.on("selectable.select", function(item) {
});
Note that this event fires for each item that is selected. If you select a large number of items at once you will get an equally large number of callbacks. In this case it can be preferable to listen for the selectable.end event instead where you will get a single callback no matter the number of items.