API / wxt/utils/content-script-ui/iframe / createIframeUi
Function: createIframeUi()
createIframeUi<
TMounted>(ctx,options):IframeContentScriptUi<TMounted>
Source: packages/wxt/src/utils/content-script-ui/iframe.ts:14
Create a content script UI using an iframe.
Type Parameters
TMounted
TMounted
Parameters
ctx
options
IframeContentScriptUiOptions<TMounted>
Iframe options. See ContentScriptUiOptions for shared positioning, anchoring, append, and removal options.
Returns
IframeContentScriptUi<TMounted>
See
https://wxt.dev/guide/essentials/content-scripts.html#iframe
Generated using typedoc-plugin-markdown and TypeDoc