Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>IntersectionObserver

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface IntersectionObserver
import { type IntersectionObserver } from "https://deno.land/x/windmill@v1.345.2/node_modules/evt/lib/types/lib.dom.d.ts";

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.

Properties

readonly
root: Element | null
readonly
rootMargin: string
readonly
thresholds: ReadonlyArray<number>

Methods

disconnect(): void
observe(target: Element): void
takeRecords(): IntersectionObserverEntry[]
unobserve(target: Element): void