Observe when an element enters or leaves the viewport.
https://www.shaktools.com/shak-hooks| Name | Type | Optional | Default |
|---|---|---|---|
| elementRef | RefObject<Element> | No | - |
| { threshold = 0, root = null, rootMargin = '0%', freezeOnceVisible = false, } | UseIntersectionObserverOptions | Yes | {} |
IntersectionObserverEntry | undefinedAdvertisement
Google Ads
Empowering creators with free, high-performance AI, SEO, and developer tools. Join thousands of users optimizing their workflow with Shak-Tools.
Join our newsletter for the latest AI tools and updates.