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


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

Related samples


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

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix lightweight js framework and page of javascript tree visualization product.