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
Name | Type |
---|---|
«destructured» | UseHandleProps |
Returns
Object
Name | Type |
---|---|
onClick | (event : MouseEvent ) => void |
onMouseDown | (event : MouseEvent ) => void |
onTouchStart | (event : TouchEvent ) => void |