Skip to main content

useScrollPosition

Callable

  • useScrollPosition(__namedParameters?: { enabled: undefined | boolean; throttle: undefined | number }): ScrollListenerResult

  • Parameters

    • __namedParameters: { enabled: undefined | boolean; throttle: undefined | number } = {}
      • enabled: undefined | boolean = true
      • throttle: undefined | number = 200

    Returns ScrollListenerResult