fires before a dragged panel 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 |
$$("dashboard").attachEvent("onBeforeDrop", function(context, native_event){
//... some code here ...
// return false to block operation
return true;
});
If you drag multiple items, the event will be called once for the entire batch of items.
The drag-and-drop context can have the following properties: