weasel API - v0.8.0
Preparing search index...
useDropZone
Function useDropZone
useDropZone
<
T
extends
HTMLElement
>
(
opts
:
DropZoneOptions
,
)
:
(
el
:
T
|
null
)
=>
void
Register an element as a drop zone for
useDragHandle
payloads. Returns a ref-callback.
Type Parameters
T
extends
HTMLElement
Parameters
opts
:
DropZoneOptions
Returns
(
el
:
T
|
null
)
=>
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
weasel API - v0.8.0
Loading...
Register an element as a drop zone for
useDragHandlepayloads. Returns a ref-callback.