Skip to content

Function: useHandle

useHandle(«destructured»): Object

This composable can be used to create custom Handle components

It provides an onClick and onMouseDown handler that you can bind to your custom handle, so it will behave like the default handle.

Parameters

NameType
«destructured»UseHandleProps

Returns

Object

NameType
onClick(event: MouseEvent) => void
onMouseDown(event: MouseEvent) => void
onTouchStart(event: TouchEvent) => void

Released under the MIT License.