<dy-drop-area>
Example
Loading...
<dy-drop-area style=${"width: 100%; height: 200px;"}> Drop File To Here </dy-drop-area>
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 |
