Skip to content

HtmlPageOverlayConfig

HtmlPageOverlayConfig = OverlayCommon & NoInlineContent & object

Defined in: asset.ts:267

A full HTML page overlay: path ends in .html. The file is loaded as a complete standalone document, so its own <style> and <script> run (the script is advanced by the virtual clock when animate: true). Author the page with a transparent background (html,body{background:transparent}) and, for tight sizing, wrap the content in <div id="screenci-overlay-root">. No props (a full page owns its own content).

path: `${string}.html`

Path to a full .html document, resolved relative to the recording file.

optional props?: never