Skip to main content
Module

x/evt/mod.ts>dom.IntersectionObserverEntry

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.IntersectionObserverEntry
import { type dom } from "https://deno.land/x/evt@v2.4.13/mod.ts";
const { IntersectionObserverEntry } = dom;

This Intersection Observer API interface describes the intersection between the target element and its root container at a specific moment of transition.

Properties

readonly
boundingClientRect: DOMRectReadOnly
readonly
intersectionRatio: number
readonly
intersectionRect: DOMRectReadOnly
readonly
isIntersecting: boolean
readonly
rootBounds: DOMRectReadOnly | null
readonly
target: Element
readonly
time: number