Props & events
Attributes & behavior classes
Standard file-input attributes work as usual — multiple to accept more than one file, accept="..." to filter the picker.
| Attribute / class | Purpose |
|---|---|
multiple | Accepts more than one file |
accept | Filters the OS file picker, e.g. accept=".png,.jpg,image/*" |
aria-invalid="true" | Validation-error border on the dropzone |
aria-disabled="true" (with disabled on the input) | Disables browsing and dropping |
Events
Selecting, dropping, or removing files rewrites input.files through a DataTransfer so the form submits exactly the files shown.
| Event | Description |
|---|---|
flick:filechange | Fired when files are selected, dropped, or removed; detail.files carries the input's resulting FileList. |