@redocly/theme
Version:
Shared UI components lib
11 lines (10 loc) • 414 B
TypeScript
export declare class MockIntersectionObserver {
readonly root: Element | Document | null;
readonly rootMargin: string;
readonly thresholds: ReadonlyArray<number>;
observe: (target: HTMLElement) => void;
unobserve: (target: HTMLElement) => void;
disconnect: () => void;
constructor(callback: IntersectionObserverCallback, options?: IntersectionObserverInit);
takeRecords(): any[];
}