@maxhealth.tech/prefab / mcp / DisplayOptions
Interface: DisplayOptions
Defined in: mcp/display.ts:37
Extended by
Properties
title?
optional title?: string;Defined in: mcp/display.ts:39
Page / app title.
state?
optional state?: Record<string, unknown>;Defined in: mcp/display.ts:41
Initial reactive state.
theme?
optional theme?: Theme;Defined in: mcp/display.ts:43
Light/dark theme overrides.
defs?
optional defs?: Record<string, Component>;Defined in: mcp/display.ts:45
Reusable component definitions.
onMount?
optional onMount?:
| Action
| Action[];Defined in: mcp/display.ts:47
Action(s) to run when the UI mounts.
keyBindings?
optional keyBindings?: Record<string,
| Action
| Action[]>;Defined in: mcp/display.ts:49
Keyboard shortcuts.
cssClass?
optional cssClass?: string;Defined in: mcp/display.ts:51
Extra CSS class on root element.
layout?
optional layout?: LayoutHints;Defined in: mcp/display.ts:53
Size hints for the host container (iframe, panel, etc.).
css?
optional css?: string[];Defined in: mcp/display.ts:55
Inline CSS blocks injected as <style> (merged after the compiled theme).
stylesheets?
optional stylesheets?: string[];Defined in: mcp/display.ts:57
External CSS URLs loaded as <link rel="stylesheet">.
mode?
optional mode?: ColorMode;Defined in: mcp/display.ts:59
Force a color scheme regardless of OS preference.
pipes?
optional pipes?: Record<string, PipeFn>;Defined in: mcp/display.ts:61
Custom pipe functions for reactive expressions.