site/node_modules/micromorph/nav.d.ts
2024-10-14 08:09:33 +02:00

8 lines
267 B
TypeScript

interface Options {
beforeDiff?: (newDocument: Document) => void|Promise<void>;
afterDiff?: () => void|Promise<void>;
include?: string | ((element: HTMLAnchorElement) => boolean);
scrollToTop?: boolean;
}
export default function listen(opts?: Options): void;