BeforeDrag

fires before dragging of a file in the queue has started

boolean BeforeDrag(object data,Event e);
dataobjectdata object
eEventa native event object
booleanfalse - to block dragging of an item, otherwise true

Example

vault.events.on("BeforeDrag", function(data, events){
    // your logic here
    return false;
});

Related samples

Details

The data object can contain the following parameters:

See also
Change log

added in v4.0

Back to top