Skip to content

API > wxt > PopupEntrypointOptions

Interface: PopupEntrypointOptions

Contents

Extends

Properties

browserStyle

browserStyle?: PerBrowserOption<boolean>

Source

packages/wxt/src/types.ts:679


defaultArea

defaultArea?: PerBrowserOption<"navbar" | "menupanel" | "tabstrip" | "personaltoolbar">

Firefox only. Defines the part of the browser in which the button is initially placed.

See

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/action#default_area

Source

packages/wxt/src/types.ts:684


defaultIcon

defaultIcon?: Record<string, string>

Source

packages/wxt/src/types.ts:677


defaultTitle

defaultTitle?: PerBrowserOption<string>

Source

packages/wxt/src/types.ts:678


exclude

exclude?: string[]

List of target browsers to exclude this entrypoint from. Cannot be used with include. You must choose one of the two options.

Default

ts
undefined

Inherited from

BaseEntrypointOptions.exclude

Source

packages/wxt/src/types.ts:561


include

include?: string[]

List of target browsers to include this entrypoint in. Defaults to being included in all builds. Cannot be used with exclude. You must choose one of the two options.

Default

ts
undefined

Inherited from

BaseEntrypointOptions.include

Source

packages/wxt/src/types.ts:554


mv2Key

mv2Key?: PerBrowserOption<"browser_action" | "page_action">

Defaults to "browser_action" to be equivalent to MV3's "action" key

Source

packages/wxt/src/types.ts:676


themeIcons

themeIcons?: ThemeIcon[]

Firefox only. Icons for light and dark themes.

See

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/action#theme_icons

Source

packages/wxt/src/types.ts:691


Generated using typedoc-plugin-markdown and TypeDoc