GO-V.ORG
As seen in

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

3 results across 6 corpora for devtools.panels.ExtensionSidebarPane.setObject().

Dictionary 0

Papers 0

Developer library 3

devtools.panels.ElementsPanel.createSidebarPane()

rgument, which is a string representing the pane's title. It returns a [`Promise`](/docs/Web/JavaScript/Reference/Global_Objects/Promise) that resolves to an [`ExtensionSidebarPane`](/docs/Mozilla/Add-ons/WebExtensions/API/devtools/panels/ExtensionSidebarPane) object representing the new pane. You can use that object to define the pane's content and behavior. ## Syntax ```js-nolint let creating = browser.devtools.p

devtools.panels.ExtensionSidebarPane

The `ExtensionSidebarPane` object represents a pane that an extension has added to the sidebar in the browser's HTML/CSS inspector. ![New pane titled "My pane" that displays a JSON object, in the Firefox inspector](inspector-sidebar.png) To create an `ExtensionSidebarPane`, call the [`browser.devtools.panels.elements.createSidebarPane()`](/docs/Mozilla/Add-ons/WebExtensions/API/devtools/panels/ElementsPanel/createS

devtools.panels.ExtensionSidebarPane.setObject()

Displays a JSON object in the extension's sidebar pane. The object is displayed as an expandable tree, as in the [JSON viewer](https://firefox-source-docs.mozilla.org/devtools-user/json_viewer/index.html) in Firefox. You can optionally specify a `rootTitle` string: this will be displayed as the title of the tree's root. This is an asynchronous function that returns a [`Promise`](/docs/Web/JavaScript/Reference/Globa

JSON results · Services directory