onListDragOut
fires when a dragged element is moved outside of the droppable list
void onListDragOut(object context,Event ev,object list);
context | object | the drag-n-drop context |
ev | Event | a native event object |
list | object | the list object where click has happened |
Example
$$("myBoard").attachEvent("onListDragOut", function(context, ev, list){
//... some code here ...
});
Details
The properties of the context object are:
- from - the source object
- to - the target object
- source - (array) 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-n-drop was started
- index - the index of the item in the column
- x_offset - the left offset between the pointer and the dragged list
- y_offset - the top offset between the pointer and the dragged list
Back to top