histoire
Version:
A fast story book powered by Vite
11 lines • 607 B
TypeScript
/**
* Moves a test mount host off the viewport without touching `display`,
* `visibility` or `opacity`: the host is the canvas user tests assert on, so
* it must keep real layout (sizes, scroll, responsive styles) and pass
* visibility checks like `toBeVisible()`. A fixed-position element outside
* the viewport cannot create scrollbars, so the mount stays invisible to the
* user without affecting the page.
* @param host The mount host element appended to the document body.
*/
export declare function applyOffscreenHostStyle(host: HTMLElement): void;
//# sourceMappingURL=offscreen-host.d.ts.map