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 / classPurpose
multipleAccepts more than one file
acceptFilters 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.

EventDescription
flick:filechangeFired when files are selected, dropped, or removed; detail.files carries the input's resulting FileList.