lndsld

Home > @lndsld/react-hooks > UseScrollOptions

UseScrollOptions interface

Configuration options for useScroll hook

Signature:

export interface UseScrollOptions 

Properties

Property Type Description
capture? boolean (Optional) Use capture phase of eventĀ§
disabled? boolean (Optional) If true, event listener will not be added
passive? boolean (Optional)
ref? RefObject<HTMLElement> (Optional) Ref to element, which events will be listened