跳到主要内容

defaultConfig

The default configuration applied to every frame before user overrides. Merge order in SDKInstance.initFrame: defaultConfig → instance config → user config.

Override only the fields you need — unset fields fall back to these defaults.

const defaultConfig: TFrameConfig;

Example​

// Minimal config — everything else comes from defaultConfig
sdk.init({
frameId: "ds-frame",
src: "https://portal.example.com",
mode: "manager",
});