Skip to content

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

Interface: ContentScriptModalPositioningOptions

Modal positioning options.

Contents

Properties

alignment

alignment?: undefined

Only available when position is "overlay".

Source

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


position

position: "modal"

Source

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


zIndex

zIndex?: number

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

Source

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


Generated using typedoc-plugin-markdown and TypeDoc