IntersectionObserver
open external class IntersectionObserver(callback: IntersectionObserverCallback, options: IntersectionObserverInit = definedExternally)(source)
provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.
Constructors
Link copied to clipboard
constructor(callback: IntersectionObserverCallback, options: IntersectionObserverInit = definedExternally)