onDragOut
fires when a dragged element is moved outside of the droppable area
void onDragOut(object context,Event native_event);
context | object | the drag-n-drop context |
native_event | Event | an HTML event object |
Example
some.attachEvent("onDragOut", function(context, native_event){
//... some code here ...
});
Details
The drag-and-drop context can have the following properties:
- from - the source object
- to - the target object
- source - the ID of the dragged item(s)
- target - the ID of the drop target, null for drop on empty space
- start - the ID from which drag-and-drop was started
- index - (number) the index of the node within the dataset
- x_offset - the left offset between the pointer and the dragged element
- y_offset - the top offset between the pointer and the dragged element
See also
Back to top