Home > @lndsld/react-hooks > UseScrollOptions
Configuration options for useScroll hook
Signature:
export interface UseScrollOptions
| 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 |