Skip to content

Intermact API Reference / @intermact/react / EmbedIframeOptions

Interface: EmbedIframeOptions ​

Defined in: react/src/embed/web-component.ts:123

Options for buildEmbedIframe.

Properties ​

autoplay? ​

readonly optional autoplay?: boolean

Defined in: react/src/embed/web-component.ts:134


data? ​

readonly optional data?: string

Defined in: react/src/embed/web-component.ts:127

Inline serialized JSON — passed as the data attribute (overrides shareUrl).


height? ​

readonly optional height?: string | number

Defined in: react/src/embed/web-component.ts:133


interactive? ​

readonly optional interactive?: boolean

Defined in: react/src/embed/web-component.ts:135


scriptUrl ​

readonly scriptUrl: string

Defined in: react/src/embed/web-component.ts:129

URL of the bundle that calls defineIntermactEmbed (script tag src).


shareUrl? ​

readonly optional shareUrl?: string

Defined in: react/src/embed/web-component.ts:125

Share-url string (preferred) — passed as the project attribute.


tagName? ​

readonly optional tagName?: string

Defined in: react/src/embed/web-component.ts:131

Custom element tag (default intermact-embed).


timeline? ​

readonly optional timeline?: boolean

Defined in: react/src/embed/web-component.ts:136


width? ​

readonly optional width?: string | number

Defined in: react/src/embed/web-component.ts:132

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)