<dy-drop-area>

A component that creates a designated area where users can drag and drop files. It provides visual feedback during the drag operation and handles file drop events.

Example

API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type Description
tip(tip) Yes string
accept(accept) Yes string file type
dropeffect(dropeffect) Yes DataTransfer['dropEffect']
change Emitter<File[]>
ignore Emitter<File[]>
nodata Emitter<null>

Other

Type Value
Event change, ignore, nodata
Slot unnamed
CSS State allow-drop