API > wxt/utils/content-script-ui/iframe > IframeContentScriptUi
Interface: IframeContentScriptUi<TMounted>
Contents
Extends
ContentScriptUi
<TMounted
>
Type parameters
▪ TMounted
Properties
autoMount
autoMount: (
options
?) =>void
Call ui.autoMount()
to automatically mount and remove the UI as the anchor is dynamically added/removed by the webpage.
Parameters
▪ options?: AutoMountOptions
Inherited from
Source
packages/wxt/src/utils/content-script-ui/types.ts:114
iframe
iframe:
HTMLIFrameElement
The iframe added to the DOM.
Source
packages/wxt/src/utils/content-script-ui/iframe.ts:54
mount
mount: () =>
void
Function that mounts or remounts the UI on the page.
Inherited from
Source
packages/wxt/src/utils/content-script-ui/types.ts:102
mounted
mounted:
undefined
|TMounted
Inherited from
Source
packages/wxt/src/utils/content-script-ui/types.ts:4
remove
remove: () =>
void
Function that removes the UI from the webpage.
Inherited from
Source
packages/wxt/src/utils/content-script-ui/types.ts:107
wrapper
wrapper:
HTMLDivElement
A wrapper div that assists in positioning.
Source
packages/wxt/src/utils/content-script-ui/iframe.ts:58
Generated using typedoc-plugin-markdown and TypeDoc