useSelectionEvents

See source code
function useSelectionEvents(handle: TLSelectionHandle): {
  onPointerDown: import('react').PointerEventHandler<Element>
  onPointerMove: (e: React.PointerEvent) => void
  onPointerUp: import('react').PointerEventHandler<Element>
}

Parameters

NameDescription

handle

Returns

{
  onPointerDown: import('react').PointerEventHandler<Element>
  onPointerMove: (e: React.PointerEvent) => void
  onPointerUp: import('react').PointerEventHandler<Element>
}
Prev
useIsEditing
Next
useSvgExportContext