Tracks the visibility of an element within the viewport.
Is visible boolean bottom right
Scroll down
const [const ref: Kaioken.MutableRefObject<T | null>
ref, const isVisible: boolean
isVisible] = useElementVisibility<Element>(): readonly [Kaioken.MutableRefObject<Element | null>, boolean]
useElementVisibility()