Skip to content

Function: initShell()

Examples / @xmachines/play-dom-demo / initShell

function initShell(actor, appElement): () => void;

Defined in: play-dom/examples/demo/src/components/Shell.ts:24

Shell — DOM shell layout factory. Renders demo chrome (header + main + debug panel), mounts NavBar, connects DOM renderer, and wires DebugPanel. Returns a disconnect function.

Parameters

ParameterType
actorAuthActor
appElementHTMLElement

Returns

() => void