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.
16 lines • 636 B
TypeScript
import Element from '../nodes/element/Element.cjs';
export default interface IIntersectionObserverInit {
/**
* A specific ancestor of the target element against which the intersection is to be calculated.
*/
root?: Element;
/**
* A string which specifies a specific property to observe on the intersection target.
*/
rootMargin?: string;
/**
* A list of thresholds, sorted in increasing numeric order, where each threshold is a ratio of intersection area to bounding box area of the target.
*/
threshold?: number | number[];
}
//# sourceMappingURL=IIntersectionObserverInit.d.ts.map