afterSubmenuOpen

fires after the menu of the subheader is opened

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

Parameters

idstring|numberthe id of a swimlane
eventMouseEventa native HTML event object
subHeaderIdstringthe id of a subheader of a swimlane

Example

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

See also
Change log

Added in v4.0

Back to top