@ninetailed/experience.js-plugin-insights
Version:
Ninetailed SDK plugin for Ninetailed Insights
7 lines (6 loc) • 391 B
TypeScript
/**
* This is a copy of the IntersectionObserver test helper from the JavaScript SDK.
* We currently don't have a way to share test helpers between packages without generating a new package that is published to npm.
*/
export declare function intersect(element: Element, isIntersecting: boolean): void;
export declare function getObserverOf(element: Element): IntersectionObserver;