BlogPlaygroundOne

v-intersect API


Modifiers
boolean
boolean

The handler function is only invoked once, the first time the element is visible.

Will not invoke the handler function if the element is visible when the IntersectionObserver is created.

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.