doubleClick

fires on double clicking an item

void doubleClick(string|number id,Event e){ ... };

Parameters

idstring|numberthe id of a clicked item
eEventa native event object

Example

list.events.on("DoubleClick", function(id, e){
   console.log("The item "+ list.selection.getId(id) +" was double clicked.");
});

Related samples

Change log

added in v6.1

Back to top