Documentation

Icon

Defines an icon to display

Example

{
  "icon": {
    "width": 16,
    "height": 16,
    "url": "/my-icon.png"
  }
}

Properties

url

Type
string

uri
Required
Yes
Description

The URL of the icon. Your icon needs to be hosted remotely at a web-accessible location. You can specify the URL as an absolute URL or relative to the add-on's base URL.

height

Type
integer
Description

The height in pixels of the icon image.

width

Type
integer
Description

The width in pixels of the icon image.