Skip to main content

ContainerSettings

@mammothmedia/web-sdk


Interface: ContainerSettings

Defined in: packages/core/src/SDKBase.ts:34

Extended by​

Properties​

container?​

optional container: HTMLElement;

Defined in: packages/core/src/SDKBase.ts:41

Element the experience mounts in; wins over containerId. It may live in another same-origin frame's document (e.g. an editor canvas iframe).


containerId?​

optional containerId: string;

Defined in: packages/core/src/SDKBase.ts:36

Id of the element the experience mounts in, looked up in document