Skip to main content

TFrameMode

String literal union of all SDKMode values.

Accepted by TFrameConfig.mode. Using the SDKMode enum constants is preferred, but plain string literals (e.g. "manager", "editor") are equally valid.

type TFrameMode = `${SDKMode}`;

Example​

sdk.init({ frameId: 'ds-frame', src: 'https://portal.example.com', mode: 'manager' });
// equivalent to:
sdk.init({ frameId: 'ds-frame', src: 'https://portal.example.com', mode: SDKMode.Manager });