IIntersectHtmlElement

interface
Directives & Utilities

HTMLElement augmented with a private _observe property that the v-intersect directive uses to store its per-observer runtime state on the DOM node.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

_observe
IIntersectHtmlElementObserve
Internal map keyed by observer id, used by v-intersect to track and clean up each IntersectionObserver attached to the element.

Usage

Examples

Ready-to-paste code snippets using this interface.

Casting an element to IIntersectHtmlElement for cleanup

typescript