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
If you have not checked yet, be sure to visit site of our main product Webix javascript ui components library and page of javascript menu library product.