From 0d40b4f70b7cf978360a40757d1f3623f55c0e27 Mon Sep 17 00:00:00 2001 From: Hoarfroster Date: Sat, 21 Dec 2024 21:15:50 +0800 Subject: [PATCH] Update index.md --- .../add-ons/webextensions/api/sidebaraction/seticon/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/mozilla/add-ons/webextensions/api/sidebaraction/seticon/index.md b/files/en-us/mozilla/add-ons/webextensions/api/sidebaraction/seticon/index.md index 2fa192a733af81f..02a6adb07378efd 100644 --- a/files/en-us/mozilla/add-ons/webextensions/api/sidebaraction/seticon/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/api/sidebaraction/seticon/index.md @@ -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: