Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.IntersectionObserverEntry

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.IntersectionObserverEntry
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.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