fires on double-clicking an item

void itemDblClick(string|number id,MouseEvent event){ ... };


idstring|numberthe id of an item
eventMouseEventa native HTML event object

Example"itemDblClick", (id, event) => {
    console.log(id, event);
// For diagram editor"itemDblClick", (id, event) => {
    console.log(id, event);

Related samples


If a double-click is done over a swimlane, the event will be fired on the cell of the swimlane.

See also
Change log

Added in v4.0

Back to top