API > wxt/client > IframeContentScriptUi
Interface: IframeContentScriptUi<TMounted>
Contents
Extends
ContentScriptUi
<TMounted
>
Type parameters
▪ TMounted
Properties
iframe
iframe:
HTMLIFrameElement
The iframe added to the DOM.
Source
packages/wxt/src/client/content-scripts/ui/types.ts:14
mount
mount: () =>
void
Function that mounts or remounts the UI on the page.
Inherited from
Source
packages/wxt/src/client/content-scripts/ui/types.ts:43
mounted
mounted:
undefined
|TMounted
Custom data returned from the options.mount
function.
Inherited from
Source
packages/wxt/src/client/content-scripts/ui/types.ts:51
remove
remove: () =>
void
Function that removes the UI from the webpage.
Inherited from
Source
packages/wxt/src/client/content-scripts/ui/types.ts:47
wrapper
wrapper:
HTMLDivElement
A wrapper div that assists in positioning.
Source
packages/wxt/src/client/content-scripts/ui/types.ts:18
Generated using typedoc-plugin-markdown and TypeDoc