Search results

IDropEventArgs API in JavaScript (ES5) Diagram API control

IDropEventArgs - IDropEventArgs notifies when the element is dropped in the diagram

Properties

cancel

boolean

returns whether or not to cancel the drop event

element

NodeModel | ConnectorModel | SelectorModel

returns node or connector that is being dropped into diagram

position

PointModel

returns the position of the dropped object.

source

Object

returns the object from where the element is dragged.

target

NodeModel | ConnectorModel | DiagramModel

returns the object over which the object will be dropped.