afterEditorOpen

fires after the inline editor of an item is opened

void afterEditorOpen(string|number id,string key,string|undefined subheaderId){ ... };

Parameters

idstring|numberthe id of the item
keystringthe name of the edited property
subheaderIdstring|undefinedoptional, the id of the edited subheader of a swimlane

Example

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

Related samples

Change log

Added in v4.0

Back to top