TLPointerEventTarget

Public TypeAlias

Signature
type TLPointerEventTarget =
  | {
      target: 'canvas'
      shape?: undefined
    }
  | {
      target: 'handle'
      shape: TLShape
      handle: TLHandle
    }
  | {
      target: 'selection'
      handle?: TLSelectionHandle
      shape?: undefined
    }
  | {
      target: 'shape'
      shape: TLShape
    }
References

TLShape, TLHandle, TLSelectionHandle

Edit this page
Last edited on 10 May 2023
TLPointerEventNameTLReorderOperation