@maxhealth.tech/prefab / renderer / app
Function: app()
ts
function app(options?): Promise<PrefabApp>;Defined in: renderer/app.ts:120
Create a prefab app. Auto-detects iframe vs standalone.
In an iframe: uses postMessage bridge, performs handshake with host. Standalone: uses HTTP transport (or noop if no config).
Parameters
| Parameter | Type |
|---|---|
options? | AppOptions |
Returns
Promise<PrefabApp>