SurfaceHost
A single-slot surface host returned by surfaceHost.
Properties
Section titled “Properties”handle
Section titled “handle”readonly handle: SurfaceHandle | null;The live SurfaceHandle once embedded, else null (for reading height / channelId).
Methods
Section titled “Methods”close()
Section titled “close()”close(): void;Tear the surface down; a later SurfaceHost.render re-embeds.
Returns
Section titled “Returns”void
render()
Section titled “render()”render(params): void;Show the surface with these params: the first call embeds it; later calls re-parameterise in place (no remount).
Parameters
Section titled “Parameters”params
Section titled “params”Record<string, unknown>
Returns
Section titled “Returns”void