abort

cancels the upload of a file(s)

void abort( [string id] );
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.

See also
Back to top