abort()
cancels the upload of a file(s)
abort(id?: string): void;
Parameters:
id: string
- optional, the ID of a file
Example
vault.uploader.abort("file_id");
If the parameter isn't passed, the method cancels upload of all files in the queue.
cancels the upload of a file(s)
id: string
- optional, the ID of a fileExample
vault.uploader.abort("file_id");
If the parameter isn't passed, the method cancels upload of all files in the queue.