doubleClick
fires on double clicking an item
doubleClick: (id: string | number, events: Event) => void;
Parameters:
id: string | number
- the id of a clicked itemevents: Event
- a native event object
Example
list.events.on("doubleClick", function(id, e){
console.log("The item "+ list.selection.getId(id) +" was double clicked.");
});
Related sample: List. Events
Change log:
added in v6.1