0.1.2 • Published 2 months ago

@raddix/use-scroll-spy v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

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.