Skip to content

API > wxt/utils/content-script-ui/iframe > 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/utils/content-script-ui/iframe.ts:12


Generated using typedoc-plugin-markdown and TypeDoc