API > wxt/utils/content-script-ui/integrated > IntegratedContentScriptUiOptions
Type alias: IntegratedContentScriptUiOptions<TMounted> 
IntegratedContentScriptUiOptions<
TMounted>:ContentScriptUiOptions<TMounted> &object
Type declaration 
onMount 
onMount: (
wrapper) =>TMounted
Callback executed when mounting the UI. This function should create and append the UI to the wrapper element. It is called every time ui.mount() is called.
Optionally return a value that can be accessed at ui.mounted or in the onRemove callback.
Parameters 
▪ wrapper: HTMLElement
tag 
tag?:
string
Tag used to create the wrapper element.
Default 
ts
"div"Type parameters 
| Parameter | 
|---|
| TMounted | 
Source 
packages/wxt/src/utils/content-script-ui/integrated.ts:62
Generated using typedoc-plugin-markdown and TypeDoc