Search results

IDropEventArgs API in React Diagram API component

IDropEventArgs - 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 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.