跳至正文

useIntersectionObserver

跟踪元素与视口或滚动容器的交叉情况。

Signature

useIntersectionObserver(ref, options?): entry

Import

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