FileUpload
The FileUpload component provides a universal file upload function for web applications. It supports customizable attributes such as allowed file types, part size or also maximum file size, along with drag-and-drop methods and traditional file selection.
Basic Usage
Icon
Attributes and Properties
accepted-types
Description | Sets the accepted file types to upload. |
Attribute | accepted-types |
Type | number |
Default | 0 |
chunk-size
Description | Sets the fragment size for uploading large files in bytes. |
Attribute | chunk-size |
Type | number |
Default | 1 MB |
max-file-size
Description | Sets the maximum file size allowed for uploading in bytes. |
Attribute | max-file-size |
Type | number |
Default | 1 MB |
Events
No events available for this component.
Methods
No public methods available for this component.
CSS Shadow Parts
Name | Description |
---|---|
native | Refers to a div element inside an element. |
CSS Custom Properties
No CSS custom properties available for this component.
Slots
No slots available for this component.