Skip to content

Commit

Permalink
WebExt: fix a typo (mdn#37327)
Browse files Browse the repository at this point in the history
  • Loading branch information
PassionPenguin authored and Allan Bonadio committed Dec 25, 2024
1 parent 11ebce9 commit 2b6ec1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let settingIcon = browser.sidebarAction.setIcon(

- `imageData` {{optional_inline}}

- : `{{WebExtAPIRef('sidebarAction.ImageDataType')}}` or `object`. This is either a single `ImageData` object or a dictionary object.
- : {{WebExtAPIRef('sidebarAction.ImageDataType')}} or `object`. This is either a single `ImageData` object or a dictionary object.

Use a dictionary object to specify multiple `ImageData` objects in different sizes, so the icon does not have to be scaled for a device with a different pixel density. If `imageData` is a dictionary, the value of each property is an `ImageData` object, and its name is its size, like this:

Expand Down

0 comments on commit 2b6ec1d

Please sign in to comment.