Skip to content

API > wxt/client > createIframeUi

Function: createIframeUi()

createIframeUi<TMounted>(ctx, options): IframeContentScriptUi<TMounted>

Create a content script UI using an iframe.

Type parameters

TMounted

Parameters

ctx: ContentScriptContext

options: IframeContentScriptUiOptions<TMounted>

Returns

See

https://wxt.dev/guide/essentials/content-scripts.html#iframe

Source

packages/wxt/src/client/content-scripts/ui/index.ts:76


Generated using typedoc-plugin-markdown and TypeDoc