[ type ] DropEvent

Description:

Drop event received by the onDropEvents() handler callback.

Type: Object

Properties:

Name Type Description

target

object

The component that triggered the event.

[source]

object

The component being dragged onto this component.
Present only for component-to-component dragging, and when DataType.Components is allowed for dropping.

[overComponent]

object

Descendent of the target component over which the event occurred. Only present for event types dragover and drop, if target is a container and the event occurred over one of target'a descendent.

type

string

One of dragenter, dragover, dragleave, drop.

[action]

string

One of the values of enum DragDropAction. Present when applicable.

[data]

object

Contains the data being dropped. Present only when type is drop or dragenter.

[x]

number

X position of the pointer relative to this component. Present when type is dragstart or drop.

[y]

number

Y position of the pointer relative to this component. Present when type is dragstart or drop.

[screenX]

number

X position of the pointer relative to the screen. Present when type is dragstart or drop.

[screenY]

number

Y position of the pointer relative to the screen. Present when type is dragstart or drop.

[selected]

Array.<number>

Selected indexes of a List component whose items are being dragged. Present only when dragging List items.

Also See: