Skip to main content

Interface: StageOptions

Options for initializing the Stage presentation director.

Properties​

PropertyTypeDescription
channel?string | falseBroadcastChannel 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?numberDefault transition duration in seconds (default: 0.6).
frameRate?number | "auto"Animation update limit in frames per second; "auto" follows display refresh. Default: "auto".
height?numberVirtual stage height in pixels (default: 1080 or environment config).
logLevel?LogLevelMinimum log level (default: "warn"). Set to "debug" for verbose output or "silent" to suppress all.
scale?numberGlobal 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 | HTMLElementTarget HTML container or CSS selector to mount into (default: document.body).
theme?ThemeConfigInitial theme color overrides (default: defaultDark).
width?numberVirtual stage width in pixels (default: 1920 or environment config).