UploadFile

fires when a file has been uploaded

void UploadFile(object file, [object extra] ){ ... };

Parameters

fileobjectfile object that has been uploaded
extraobjectoptional, the server response

Example

vault.events.on("UploadFile", function(file){
    console.log("The file is uploaded");
});

See also
Back to top