fires before a dragged element is released over the droppable area
context | object | the drag-n-drop context |
native_event | Event | an HTML event object |
boolean | returning false will prevent further drag-and-drop processing |
$$("editor").attachEvent("onBeforeDrop", function(context, native_event){
//... some code here ...
// return false to block operation
return true;
});
The drag-and-drop context can have the following properties: