UploadEvents
Typed event names of <vaadin-upload>, for use with addEventHandler.
Properties
Fired when a file cannot be added to the queue due to a constraint: file size, file type, or maxFiles.
Fired when a file is removed from the list.
Fired when the files property changes.
Fired when the maxFilesReached property changes.
Fired when upload abort is requested. If the default is prevented, the upload is not aborted.
Fired before the XHR is opened. Useful for changing the request URL. If the default is prevented, the XHR is not opened.
Fired when the upload process fails.
Fired as many times as the progress is updated.
Fired when the XHR has been opened but not sent yet. Useful for appending data to the FormData or modifying request parameters. If the default is prevented, the request is not sent.
Fired when the server response is received, before the component analyzes it. If the default is prevented, the component returns and the listener can handle xhr and file directly; otherwise the normal flow checks xhr.status and file.error, which can be modified to force a custom outcome.
Fired when retry upload is requested. If the default is prevented, the retry is not performed.
Fired when the XHR is sent.
Fired when the upload process succeeds.