SurfaceHostOptions
Options for surfaceHost — the same provider/surface/mount as EmbedSurfaceOptions, minus the per-call params.
Extends
Section titled “Extends”Omit<EmbedSurfaceOptions,"params">
Properties
Section titled “Properties”mount: HTMLElement;Host element the nested surface iframe is mounted into (inline in your UI).
Inherited from
Section titled “Inherited from”onError?
Section titled “onError?”optional onError?: (error) => void;Called if the embed is denied or torn down before first ready (the otherwise-easy-to-miss handle.ready rejection).
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
providerId
Section titled “providerId”providerId: string;The app that provides the surface (e.g. "billing").
Inherited from
Section titled “Inherited from”EmbedSurfaceOptions.providerId
surfaceName
Section titled “surfaceName”surfaceName: string;The provider’s declared surface name (e.g. "invoice-list").