IntersectionObserver

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.

MDN Reference

Constructors

Link copied to clipboard
constructor(callback: IntersectionObserverCallback, options: IntersectionObserverInit = definedExternally)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard