afterEditorEditing

fires after the text value of an item is edited via the inline editor

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

Parameters

valuestringthe new value of the item
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("afterEditorEditing", (value, id, key, subheaderId) => {
    console.log(value, id, key, subheaderId);
});
// For diagram editor
editor.diagram.events.on("afterEditorEditing", (value, id, key, subheaderId) => {
    console.log(value, id, key, subheaderId);
});

Related samples

Change log

Added in v4.0

Back to top