Skip to main content

Interface: ILoadOptions

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

Options passed to IRuntime.load to control how a miniapp is mounted, what permissions it receives, and which lifecycle callbacks fire.

Properties​

containerId?​

optional containerId?: string

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

Container ID to mount the miniapp into


optional disableDeeplinks?: boolean

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

Disable deep linking for this miniapp


initiateBootstrap?​

optional initiateBootstrap?: boolean

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

Whether to initiate bootstrap immediately


permissions?​

optional permissions?: Partial<MiniappPermissions>

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

Permissions for this miniapp


standalone?​

optional standalone?: boolean

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

Whether this is a standalone miniapp (not part of sidebar)


touchpoint?​

optional touchpoint?: string

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

Touchpoint identifier for analytics

Methods​

onClose()?​

optional onClose(params?): void | Promise<void>

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

Called when the miniapp signals close

Parameters​

params?​

unknown

Returns​

void | Promise<void>


onReady()?​

optional onReady(): void

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

Called when the miniapp signals it's ready

Returns​

void