Skip to content
uiify

useIntersectionObserver

Track an element's intersection with the viewport or a scroll container.

Signature

useIntersectionObserver(ref, options?): entry

Import

import { useIntersectionObserver } from "@gunkin/uiify/hooks";