weasel API - v0.8.0
Preparing search index...
DropZoneOptions
Interface DropZoneOptions
Options for
useDropZone
;
accepts
filters by
payload.kind
.
interface
DropZoneOptions
{
accepts
:
(
kind
:
string
)
=>
boolean
;
onDrop
:
(
payload
:
DragPayload
,
clientX
:
number
,
clientY
:
number
)
=>
void
;
onMove
?:
(
payload
:
DragPayload
,
clientX
:
number
,
clientY
:
number
)
=>
void
;
onOver
?:
(
active
:
boolean
)
=>
void
;
}
Index
Properties
accepts
on
Drop
on
Move?
on
Over?
Properties
accepts
accepts
:
(
kind
:
string
)
=>
boolean
on
Drop
onDrop
:
(
payload
:
DragPayload
,
clientX
:
number
,
clientY
:
number
)
=>
void
Optional
on
Move
onMove
?:
(
payload
:
DragPayload
,
clientX
:
number
,
clientY
:
number
)
=>
void
Optional
on
Over
onOver
?:
(
active
:
boolean
)
=>
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
accepts
on
Drop
on
Move
on
Over
weasel API - v0.8.0
Loading...
Options for
useDropZone;acceptsfilters bypayload.kind.