/ Diagram / ITextEditEventArgs
Search results

ITextEditEventArgs API in JavaScript (ES5) Diagram API control

ITextEditEventArgs - ITextEditEventArgs notifies when the label of an element undergoes editing

Properties

annotation

ShapeAnnotationModel | PathAnnotationModel | TextModel

returns an annotation which is being edited.

cancel

boolean

returns whether to cancel the event.

element

NodeModel | ConnectorModel

returns a node or connector in which annotation is being edited.

newValue

string

returns the new text value of the element.

oldValue

string

returns the old text value of the element.