SheetXL - v0.3.20
    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.