BeforeRemove

fires before a file is removed from the queue

void BeforeRemove(object file);
fileobjectthe file object

Example

vault.events.on("BeforeRemove", function(file){
    console.log(file.id);
    return true;
});

Details

Returning false from the event handler will prevent removing a file from the queue.

See also
Back to top