Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IntersectionObserver

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.

Hierarchy

  • IntersectionObserver

Index

Properties

Readonly root

root: Element | null

Readonly rootMargin

rootMargin: string

Readonly thresholds

thresholds: ReadonlyArray<number>

Methods

disconnect

  • disconnect(): void
  • Returns void

observe

  • Parameters

    Returns void

takeRecords

unobserve

  • Parameters

    Returns void

Generated using TypeDoc