v-intersect API
Modifiers
Value
| ((
isIntersecting: boolean,
entries: IntersectionObserverEntry[],
observer: IntersectionObserver,
) => void)
| { handler: ObserveHandler; options: IntersectionObserverInit }
A handler function that is invoked when the element that the directive is attached to enters or leaves the visible browser area, or an object of IntersectionObserver options.