Interface: StageOptions
Options for initializing the Stage presentation director.
Properties
| Property | Type | Description |
|---|---|---|
channel? | string | false | BroadcastChannel name for dual-screen presenter console synchronization. Pass false to disable presenter sync (recommended for embedded component previews and unit tests). Default: "stageroutine-channel". |
defaultDuration? | number | Default transition duration in seconds (default: 0.6). |
frameRate? | number | "auto" | Animation update limit in frames per second; "auto" follows display refresh. Default: "auto". |
height? | number | Virtual stage height in pixels (default: 1080 or environment config). |
logLevel? | LogLevel | Minimum log level (default: "warn"). Set to "debug" for verbose output or "silent" to suppress all. |
scale? | number | Global content scale factor for typography, spacing, and padding. Values below 1 shrink UI chrome; values above 1 enlarge it. Element positions and explicit dimensions (stage units) are not affected. Default: 1. |
target? | string | HTMLElement | Target HTML container or CSS selector to mount into (default: document.body). |
theme? | ThemeConfig | Initial theme color overrides (default: defaultDark). |
width? | number | Virtual stage width in pixels (default: 1920 or environment config). |