Documentation

cancel

'cancel'

Cancel a file from the queue or a file that is in progress.

Arguments

  • fileID
    The ID of the file you want to cancel.  The easiest method for retrieving the file ID is to use the id attribute of the file queue item you want to cancel.  Any number of file IDs can be entered as arguments.  If you enter ‘*’ as the first argument, all files in the queue will be cancelled.  If no file ID is set as an argument, the first file in the queue will be cancelled.
  • suppressEvent
    If set to true, the onUploadCancel event will be suppressed.  This is useful when clearing the queue.

Demo

Cancel First File | Clear the Queue | Upload the Files