Skip to content

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

Interface: ContentScriptModalPositioningOptions ​

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

Modal positioning options.

Contents ​

Properties ​

alignment? ​

optional alignment?: undefined

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

Only available when position is "overlay".


position ​

position: "modal"

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


zIndex? ​

optional zIndex?: number

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

The z-index used on the shadowHost element. Set to a positive number to show your UI over website content.


Generated using typedoc-plugin-markdown and TypeDoc