Search results

IDropEventArgs API in JavaScript Diagram API control

IDropEventArgs notifies when the element is dropped in the diagram

Properties

cancel

boolean

returns whether or not to cancel the drop event

position

PointModel

returns the position of the 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