useSelectionEvents
See source codefunction 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>
}
Prev
usePassThroughWheelEventsNext
useSharedSafeId