TInitConfig
Configuration accepted by the mode-specific SDK.init* wrappers (SDK.initManager,
SDK.initPersonal, ...): a TFrameConfig whose mode is optional because the
wrapper sets it. Only frameId and src are required. SDK.init takes a full
TFrameConfig with mode.
type TInitConfig = Omit<TFrameConfig, "mode"> & object;
Type Declaration
| Name | Type |
|---|---|
mode | TFrameMode |
Example
const config: TInitConfig = { frameId: "ds-frame", src: "https://portal.example.com" };
sdk.initManager(config);