Skip to main content

Interface: loaderOptions

Defined in: host/hostSDK.ts:602

Properties​

_environment?​

optional _environment: IEnvironment

Defined in: host/hostSDK.ts:611


_hasParent?​

optional _hasParent: boolean

Defined in: host/hostSDK.ts:612


_inspection?​

optional _inspection: boolean

Defined in: host/hostSDK.ts:613


autoSize?​

optional autoSize: boolean

Defined in: host/hostSDK.ts:628

Control iframe auto-sizing behavior.

  • true (default): iframe auto-sizes to content height, width fills parent.
  • false: no sizing logic runs. No observers, no measurements, no style changes. The iframe stays at position:absolute filling the container. The host is fully responsible for container dimensions.

connectProps?​

optional connectProps: boolean

Defined in: host/hostSDK.ts:605


data?​

optional data: any

Defined in: host/hostSDK.ts:614


elementAttributes?​

optional elementAttributes: ElementAttributes

Defined in: host/hostSDK.ts:610


hidden?​

optional hidden: boolean

Defined in: host/hostSDK.ts:604


hooks?​

optional hooks: loaderHooks

Defined in: host/hostSDK.ts:609


id?​

optional id: string

Defined in: host/hostSDK.ts:603


injectCss?​

optional injectCss: string

Defined in: host/hostSDK.ts:620

Raw CSS injected into the component's iframe <head> before first paint. Appended last so it overrides the component's own styles via cascade order. Useful for theming v2 (HTML) components — colors, fonts, spacing, etc.


isolation?​

optional isolation: boolean

Defined in: host/hostSDK.ts:641

Force full isolation for an inline-HTML (localFrame) component: sandboxed, cross-origin iframe with no host-document access. A render policy returning 'isolatedIframe' has the same effect.


relative?​

optional relative: relativeLoadConfig

Defined in: host/hostSDK.ts:608


renderPolicy?​

optional renderPolicy: RenderPolicy

Defined in: host/hostSDK.ts:634

Per-call render policy. Takes precedence over hostSDK.setRenderPolicy — lets an app restrict globally and allow (or further restrict) specific loadComponent calls.


skipInit?​

optional skipInit: boolean

Defined in: host/hostSDK.ts:607


timeout?​

optional timeout: number

Defined in: host/hostSDK.ts:606