ConstelementsElements panel.
ConstonFired when the devtools theme changes.
ConstsourcesSources panel.
ConstthemeThe name of the current devtools theme.
Creates an extension panel.
Title that is displayed next to the extension icon in the Developer Tools toolbar.
Path of the panel's icon relative to the extension directory, or an empty string to use the default extension icon as the panel icon.
Path of the panel's HTML page relative to the extension directory.
Specifies the function to be called when the user clicks a resource link in the Developer Tools window. To unset the handler, either call the method with no parameters or pass null as the parameter.
Use the
browser.devtools.panelsAPI to integrate your extension into Developer Tools window UI: create your own panels, access existing panels, and add sidebars.Allowed in: Devtools pages only