Search results

ISelectionChangeEventArgs API in JavaScript (ES5) Diagram API control

ISelectionChangeEventArgs notifies when the node/connector are select

Properties

cancel

boolean

returns whether or not to cancel the selection change event

cause

DiagramAction

returns the actual cause of the event

newValue

[]

returns the collection of nodes and connectors that have to be added to selection list

oldValue

[]

returns the collection of nodes and connectors that have to be removed from selection list

state

string

Triggers before and after adding the selection to the object in the diagram which can be differentiated through state argument. We can cancel the event only before the selection of the object

type

string

returns whether the item is added or removed from the selection list