afterEditorClose

fires after the inline editor of the item is closed

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

Parameters

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

Example

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

Related samples

Change log

Added in v4.0

Back to top