Skip to content

API / wxt/utils/content-script-ui/types / MountFunctions

Interface: MountFunctions ​

Source: packages/wxt/src/utils/content-script-ui/types.ts:133

Contents ​

Extends ​

Extended by ​

Properties ​

autoMount ​

autoMount: (options?) => void

Source: packages/wxt/src/utils/content-script-ui/types.ts:138

Call ui.autoMount() to automatically mount and remove the UI as the anchor is dynamically added/removed by the webpage.

Parameters ​

options? ​

AutoMountOptions

Returns ​

void


mount ​

mount: () => void

Source: packages/wxt/src/utils/content-script-ui/types.ts:127

Function that mounts or remounts the UI on the page.

Returns ​

void

Inherited from ​

BaseMountFunctions.mount


remove ​

remove: () => void

Source: packages/wxt/src/utils/content-script-ui/types.ts:130

Function that removes the UI from the webpage.

Returns ​

void

Inherited from ​

BaseMountFunctions.remove


Generated using typedoc-plugin-markdown and TypeDoc