IDraggingEventArgs
23 Sep 20251 minute to read
IDraggingEventArgs notifies when the node/connector are dragged
Properties
allowDrop boolean
returns the object that can be dropped over the element
cancel boolean
returns whether to cancel the change or not
newValue SelectorModel
returns the current node or connector that is being dragged
oldValue SelectorModel
returns the previous node or connector that is dragged
source SelectorModel
returns the node or connector that is being dragged.
state State
returns the state of drag event (Starting, dragging, completed)
target NodeModel|ConnectorModel
returns the target node or connector that is dragged
targetPosition PointModel
returns the offset of the selected items