UNPKG

happy-dom

Version:

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

26 lines 848 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * The IntersectionObserverEntry interface of the Intersection Observer API describes the intersection between the target element and its root container at a specific moment of transition. * * @see https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry */ class IntersectionObserverEntry { boundingClientRect = null; intersectionRatio = 0; intersectionRect = null; isIntersecting = false; rootBounds = null; target = null; time = 0; /** * Constructor. * * @param init Options to initialize the intersection observer entry. */ constructor(init) { Object.assign(this, init); } } exports.default = IntersectionObserverEntry; //# sourceMappingURL=IntersectionObserverEntry.cjs.map