Package-level declarations
Types
Union of:
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.
Attribute names of <vaadin-upload>, for use with setAttribute.
Attribute names of <vaadin-upload-button>, for use with setAttribute.
<vaadin-upload-button> is a button component for file uploads. When clicked, it opens a file picker dialog and calls addFiles on a linked UploadManager.
Attribute names of <vaadin-upload-drop-zone>, for use with setAttribute.
<vaadin-upload-drop-zone> is a Web Component that can be used as a drop zone for file uploads. When files are dropped on the drop zone, they are added to a linked UploadManager.
<vaadin-upload> is a Web Component for uploading multiple files with drag and drop support.
Typed event names of <vaadin-upload>, for use with addEventHandler.
A file tracked by the upload manager.
Attribute names of <vaadin-upload-file>, for use with setAttribute.
<vaadin-upload-file> element represents a file in the file list of <vaadin-upload>.
Typed event names of <vaadin-upload-file>, for use with addEventHandler.
Attribute names of <vaadin-upload-file-list>, for use with setAttribute.
<vaadin-upload-file-list> is a Web Component that displays a list of uploaded files. It automatically syncs files from the manager and forwards file events back to it.
The values exported by @vaadin/upload/src/vaadin-upload-file-list-mixin.js.
Union of:
A pure JavaScript class that manages file upload state and XHR requests. It has no knowledge of UI components - components should listen to events and call methods to interact with the manager.
The values exported by @vaadin/upload/src/vaadin-upload-mixin.js.
Functions
Creates a <vaadin-upload> element. The custom element is registered on first use.
Creates a <vaadin-upload-button> element. The custom element is registered on first use.
Creates a <vaadin-upload-drop-zone> element. The custom element is registered on first use.
Creates a <vaadin-upload-file> element. The custom element is registered on first use.
Creates a <vaadin-upload-file-list> element. The custom element is registered on first use.
The class registered by @vaadin/upload/src/vaadin-upload-internal-manager.js.
The headers property also supports a JSON string, while the manager only accepts an object, so strings are parsed. An invalid JSON string parses to undefined, which throws when the request is configured.
Imports @vaadin/upload/src/vaadin-upload.js, registering <vaadin-upload>, and returns the element class.
Imports @vaadin/upload/src/vaadin-upload-button.js, registering <vaadin-upload-button>, and returns the element class.
Imports @vaadin/upload/src/vaadin-upload-drop-zone.js, registering <vaadin-upload-drop-zone>, and returns the element class.
Imports @vaadin/upload/src/vaadin-upload-file.js, registering <vaadin-upload-file>, and returns the element class.
Imports @vaadin/upload/src/vaadin-upload-file-list.js, registering <vaadin-upload-file-list>, and returns the element class.
The class registered by @vaadin/upload/src/vaadin-upload-manager.js.