Filväljare
- Komponent
- Status
-
Produktionsklar
Innehåll
Filväljare används för att välja filer.
API
Props
-
id: stringOptional -
The id for the input id attribute. The id for the label for attribute. If the prop is not set a random value will be generated.
Default:
() => ElementIdService.generateElementId() -
disabled: booleanOptional -
Disables the file selector.
-
size: "small" | "medium" | "large"Optional -
Button size, can be one of:
smallmediumlarge
Default:
"medium"
Events
-
change -
Emitted when file changes.
Arguments:
<anonymous>: FileList
Slots
-
default - ‐