Event Object Type: feathers.events.DragDropEvent
DragDropEvent.type property = feathers.events.DragDropEvent.DRAG_COMPLETE
Dispatched when the drop has been completed or when the drag has been
cancelled.
The properties of the event object have the following values:
Property | Value |
---|
bubbles | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
data | Same as the dragData property. |
dragData | The feathers.dragDrop.DragData
instance associated with this drag. |
isDropped | true, if the dragged object was dropped; false, if it was not. |
localX | NaN |
localY | NaN |
target | The Object that dispatched the event;
it is not always the Object listening for the event. Use the
currentTarget property to always access the Object
listening for the event. |
Dispatched by the
IDragSource
when a drag completes.
This is always dispatched, even when there wasn't a successful drop.
See the
isDropped
property to determine if the drop
was successful.
Event Object Type: feathers.events.DragDropEvent
DragDropEvent.type property = feathers.events.DragDropEvent.DRAG_START
Dispatched when the drag and drop manager begins the drag.
The properties of the event object have the following values:
Property | Value |
---|
bubbles | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
data | Same as the dragData property. |
dragData | The feathers.dragDrop.DragData
instance associated with this drag. |
isDropped | false |
localX | NaN |
localY | NaN |
target | The Object that dispatched the event;
it is not always the Object listening for the event. Use the
currentTarget property to always access the Object
listening for the event. |
Dispatched by the
IDragSource
when a drag starts.