IKeyEventArgs

23 Sep 20251 minute to read

IKeyEventArgs - IKeyEventArgs notifies while perform the key actions in the diagram.

Properties

element SelectorModel

Returns the selected element of the diagram

key string

Returns value of the key action

keyCode number

Returns a number which represents an actual key pressed.

keyModifiers KeyModifiers

Returns any, modifier keys were pressed when the flick gesture occurred.

label object

Returns the label which is currently editing

newValue ElementOffset

Returns a value which represents an elements new position after nudge.

oldValue ElementOffset

Returns a value which represents an elements old position before nudge.

target string

Returns the id of the text box element in editing mode.

text string

Returns the text content of the label currently editing