onBeforeDropOut

fires before a dragged element is released over the droppable area outside the source widget

void onBeforeDropOut(object context,Event native_event);
contextobjectthe drag-n-drop context
native_eventEventan HTML event object

Example

some.attachEvent("onBeforeDropOut", function(context, native_event){
    //... some code here ... 
    //return false to block operation
    return true;
});

Related samples

Details

The event is similar to onBeforeDrop, but fires in the drag SOURCE component, not in the drag target one.

See also
Back to top