From c004669e7778cd69620fd90f7dc4205f9818a104 Mon Sep 17 00:00:00 2001 From: Richard Bloor Date: Fri, 28 Jul 2023 10:22:19 +1200 Subject: [PATCH] icon info --- .../panels/extensionpanel/createstatusbarbutton/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/mozilla/add-ons/webextensions/api/devtools/panels/extensionpanel/createstatusbarbutton/index.md b/files/en-us/mozilla/add-ons/webextensions/api/devtools/panels/extensionpanel/createstatusbarbutton/index.md index 13a76196def6e9d..4566f8cb25078fe 100644 --- a/files/en-us/mozilla/add-ons/webextensions/api/devtools/panels/extensionpanel/createstatusbarbutton/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/api/devtools/panels/extensionpanel/createstatusbarbutton/index.md @@ -24,7 +24,7 @@ let creating = browser.devtools.panels.ExtensionPanel.createStatusBarButton( - `disabled` {{optional_inline}} - : `boolean`. Whether the button is disabled. - `iconPath` {{optional_inline}} - - : `string`. Path to the new icon of the button. + - : `string`. Path to the new icon of the button. The file should contain a 64x24-pixel image composed of two 32x24 icons. The left icon is used when the button is inactive; the right icon is displayed when the button is pressed. - `tooltipText` {{optional_inline}} - : `string`. Text shown as a tooltip when user hovers the mouse over the button.