SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function useMouseDownAndHoldListener

    • Simple hook that calls onMouseDown at intervals until mouse is up.

      Parameters

      • onPointerDown: (event: PointerEvent<Element>) => boolean | void
      • Optionaloptions: RepeatClickOptions

      Returns (event: PointerEvent<Element>) => void

      Fires the original mouse down event so preventDefault should be ignored or treated accordingly.