Skip to content

v-intersect API

组件页面

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

修饰符

once
The handler function is only invoked once, the first time the element is visible.
quiet
Will not invoke the handler function if the element is visible when the IntersectionObserver is created.