abort

cancels the upload of a file(s)

void abort( [string id] );

Parameters

idstringoptional, the ID of a file

Example

vault.uploader.abort("file_id");

Details

If the parameter isn't passed, the method cancels upload of all files in the queue.

Back to top