API / wxt / PopupEntrypointOptions
Interface: PopupEntrypointOptions
Source: packages/wxt/src/types.ts:842
Contents
Extends
Properties
actionType?
optionalactionType?:PerBrowserOption<"browser_action"|"page_action">
Source: packages/wxt/src/types.ts:850
The type of action to use in the manifest.
In MV2, defaults to "browser_action". In MV3, "browser_action" is converted to "action", while "page_action" is kept as-is (Firefox MV3 only).
browserStyle?
optionalbrowserStyle?:PerBrowserOption<boolean>
Source: packages/wxt/src/types.ts:861
defaultArea?
optionaldefaultArea?:PerBrowserOption<"navbar"|"menupanel"|"tabstrip"|"personaltoolbar">
Source: packages/wxt/src/types.ts:868
Firefox only. Defines the part of the browser in which the button is initially placed.
See
defaultIcon?
optionaldefaultIcon?:Record<string,string>
Source: packages/wxt/src/types.ts:853
defaultState?
optionaldefaultState?:PerBrowserOption<"enabled"|"disabled">
Source: packages/wxt/src/types.ts:860
Chrome only. Controls the initial enabled/disabled state of the action.
See
https://developer.chrome.com/docs/extensions/reference/api/action#enabled_state
defaultTitle?
optionaldefaultTitle?:PerBrowserOption<string>
Source: packages/wxt/src/types.ts:854
exclude?
optionalexclude?:string[]
Source: packages/wxt/src/types.ts:673
List of target browsers to exclude this entrypoint from. Cannot be used with include. You must choose one of the two options.
Default
undefinedInherited from
include?
optionalinclude?:string[]
Source: packages/wxt/src/types.ts:666
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
undefinedInherited from
mv2Key?
optionalmv2Key?:PerBrowserOption<"browser_action"|"page_action">
Source: packages/wxt/src/types.ts:852
Deprecated
Use actionType instead.
themeIcons?
optionalthemeIcons?:ThemeIcon[]
Source: packages/wxt/src/types.ts:876
Firefox only. Icons for light and dark themes.
See
Generated using typedoc-plugin-markdown and TypeDoc