devtools.panels.ExtensionSidebarPane
The ExtensionSidebarPane object represents a pane that an extension has added to the sidebar in the browser's HTML/CSS inspector.

To create an ExtensionSidebarPane, call the browser.devtools.panels.elements.createSidebarPane() function.
Functions
-
Evaluate a JavaScript expression in the web page that the inspector is inspecting. The result is displayed in the sidebar pane.
-
Sets a JSON object that will be displayed in the sidebar pane.
-
Loads the page pointed to by the supplied URL.
Events
-
Fired when the sidebar pane is shown.
-
Fired when the sidebar pane is hidden.
Browser compatibility
| desktop | mobile | ||||||
|---|---|---|---|---|---|---|---|
ExtensionSidebarPane
|
|
|
|
|
|
|
|
onHidden
|
|
|
|
|
|
|
|
onShown
|
|
|
|
|
|
|
|
setExpression
|
|
|
|
|
|
|
|
setHeight
|
|
|
|
|
|
|
|
setObject
|
|
|
|
|
|
|
|
setPage
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.
Note:
This API is based on Chromium's chrome.devtools.panels API.