Skip to content

SurfaceHost

A single-slot surface host returned by surfaceHost.

readonly handle: SurfaceHandle | null;

The live SurfaceHandle once embedded, else null (for reading height / channelId).

close(): void;

Tear the surface down; a later SurfaceHost.render re-embeds.

void


render(params): void;

Show the surface with these params: the first call embeds it; later calls re-parameterise in place (no remount).

Record<string, unknown>

void