groupDblClick

fires on double-clicking a group

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

Parameters

idstring|numberthe id of a group
eventMouseEventa native HTML event object

Example

diagram.events.on("groupDblClick", (id, event) => {
    console.log(id, event);
});
// For diagram editor
editor.diagram.events.on("groupDblClick", (id, event) => {
    console.log(id, event);
});

Details

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