InternalUploadManager

abstract external class InternalUploadManager : UploadManager

An UploadManager subclass used internally by <vaadin-upload>. It reads its configuration from the host component, and overrides the manager behavior where the component behavior that predates the manager integration differs from the standalone manager.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

Whether the upload manager is disabled. When true, connected components (upload-button, upload-drop-zone) will be automatically disabled.

Link copied to clipboard

The array of files being processed, or already uploaded.

Link copied to clipboard
Link copied to clipboard
var headers: Record<JsString, JsString>

Key-Value map to send to the server.

Link copied to clipboard

Maximum number of files that can be uploaded simultaneously.

Link copied to clipboard

Limit of files to upload, by default it is unlimited.

Link copied to clipboard
Link copied to clipboard

Specifies if the maximum number of files have been uploaded.

Link copied to clipboard

HTTP Method used to send the files. Only POST and PUT are allowed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Abort an upload.

Link copied to clipboard

Add files to the upload list.

Link copied to clipboard
open fun dispatchEvent(event: Event): Boolean
Link copied to clipboard

Remove a file from the list.

Link copied to clipboard

Retry a failed upload.

Link copied to clipboard

Start the upload of the given file, even if it is already complete, in which case it is uploaded again from scratch. A file that is already uploading or queued is ignored.

Link copied to clipboard
fun uploadFiles(files: UploadFileOrUploadFileArray = definedExternally)

Triggers the upload of any files that are not completed.

Link copied to clipboard
fun <T : Event> when(type: EventType<T>, options: ObservableEventListenerOptions?): Observable<T>