fires before the user has finished dragging a file in the queue and released the mouse button

boolean BeforeDrop(object data,Event e);
dataobjectdata object
eEventa native event object
booleanfalse - to block the default action, otherwise true

Example"BeforeDrop", function(data, events){
    // your logic here
    return false;

Related samples


The data object can contain the following parameters:

See also
Change log

added in v4.0

Back to top