@raddix/use-scroll-spy
v0.1.2
Published
Automatically update navigation based on scroll position.
Downloads
128
Maintainers
Readme
useScrollSpy
The useScrollSpy
hook is used to automatically update navigation based on scroll position. Use the IntersectionObserver
API to subscribe to scroll position changes and return the current active navigation item.
Please refer to the documentation for more information.