AfterAdd

fires after a file is added to the queue

void AfterAdd(object file, [string id] );
fileobjectthe file object
idstringoptional, the id of the file

Example

vault.events.on("AfterAdd", function(file){
    console.log("A new file is added");
});

See also
Back to top