@jsvision/web / MountAppOptions
Interface: MountAppOptions
Defined in: mount.ts:29
Options for mountApp.
Properties
app
readonlyapp:Application
Defined in: mount.ts:33
A composed @jsvision/ui application (its loop is wired to the terminal).
caps
readonlycaps:CapabilityProfile
Defined in: mount.ts:35
The capability profile (build one with buildBrowserCaps).
createTerminal?
readonlyoptionalcreateTerminal?: () =>TerminalLike
Defined in: mount.ts:45
A factory used when term is omitted, e.g. () => { const t = new Terminal({…}); t.open(el); return t; }. Keeps the @xterm/xterm value-import in the caller's bundle.
Returns
TerminalLike
element
readonlyelement:HostElement
Defined in: mount.ts:31
The mount point the terminal lives in.
term?
readonlyoptionalterm?:TerminalLike
Defined in: mount.ts:40
A ready terminal to drive. A test passes an @xterm/headless Terminal; a browser app passes an opened @xterm/xterm one. Provide this or createTerminal.