Skip to main content

Interface: ILoadModuleOptions

Defined in: src/types/runtime.ts:190

Options for loading a module-federated miniapp component (e.g., ToolbarIcon, Sidebar) without going through the full miniapp lifecycle.

Properties

containerConfig?

optional containerConfig?: IContainerConfig

Defined in: src/types/runtime.ts:202

Optional container config override — when omitted, runtime's containerConfig is used


containerId

containerId: string

Defined in: src/types/runtime.ts:196

DOM container ID passed through to the container config


miniapp

miniapp: IMiniapp

Defined in: src/types/runtime.ts:192

The miniapp whose module to load


moduleName

moduleName: ExposedModuleNames

Defined in: src/types/runtime.ts:194

Which exposed module to load from the miniapp's module federation manifest


moduleProps

moduleProps: unknown

Defined in: src/types/runtime.ts:198

Props forwarded to the loaded module component


sid

sid: string

Defined in: src/types/runtime.ts:200

Session ID to associate with this module load