<dy-file-picker>

Example

API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type Description
type(type) Yes 'file' | 'image'
accept(accept) Yes string
placeholder(placeholder) Yes string @deprecated
directory(directory) Yes boolean
disabled(disabled) Yes boolean
multiple(multiple) Yes boolean
change Emitter<FileItem[]>
value Yes FileItem[]

Instance Methods

Method Type
showPicker () => void

Other

Type Value
Event change
Slot unnamed
Part button, item