Options
All
  • Public
  • Public/Protected
  • All
Menu

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

root

root: Element | null

rootMargin

rootMargin: string

thresholds

thresholds: ReadonlyArray<number>

Methods

disconnect

  • disconnect(): void
  • Returns void

observe

  • Parameters

    Returns void

takeRecords

unobserve

  • Parameters

    Returns void

Generated using TypeDoc