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

    Function rafThrottle

    • Creates a throttled version of the provided callback function using requestAnimationFrame. The returned function ensures that the callback is invoked at most once per animation frame, regardless of how many times the returned function is called.

      Parameters

      • callback: Function

        The function to be throttled

      Returns any

      A throttled version of the callback function