useSelectionEvents
Public function
Signature
function useSelectionEvents(handle: TLSelectionHandle): {
onPointerDown: import('react').PointerEventHandler<Element>
onPointerMove: (e: React.PointerEvent) => void
onPointerUp: import('react').PointerEventHandler<Element>
}
Parameters
Name | Description |
---|---|
|
|
Returns
{
onPointerDown: import('react').PointerEventHandler<Element>
onPointerMove: (e: React.PointerEvent) => void
onPointerUp: import('react').PointerEventHandler<Element>
}
References
Source