groupHeaderDblClick

fires on double-clicking a header of a group

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

Parameters

idstring|numberthe id of a group
eventMouseEventa native HTML event object
subHeaderIdstringoptional, the id of a subheader of a swimlane

Example

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

Details

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

See also
Change log

Added in v4.0

Back to top