Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for devtools.panels.ElementsPanel.
Developer library 6
Extend the developer tools
- `panels.sources` - `panels.setOpenResourceHandler()` - `panels.openResource()` - `panels.ExtensionPanel.createStatusBarButton()` - `panels.Button` - `panels.ElementsPanel` - `panels.SourcesPanel` ## Examples The [webextensions-examples](https://github.com/mdn/webextensions-examples) repo on GitHub, contains several examples of extensions that use devtools panels: - [devtools-panels](https://github.com/mdn/webex
devtools.panels
own document). See [Extending the developer tools](/docs/Mozilla/Add-ons/WebExtensions/Extending_the_developer_tools) for more. ## Types - [`devtools.panels.ElementsPanel`](/docs/Mozilla/Add-ons/WebExtensions/API/devtools/panels/ElementsPanel) - : Represents the HTML/CSS inspector in the browser's devtools. - [`devtools.panels.ExtensionPanel`](/docs/Mozilla/Add-ons/WebExtensions/API/devtools/panels/ExtensionPane
devtools.panels.elements
An [`ElementsPanel`](/docs/Mozilla/Add-ons/WebExtensions/API/devtools/panels/ElementsPanel) object, which represents the browser's HTML/CSS inspector. ## Browser compatibility > [!NOTE] > This API is based on Chromium's [`chrome.devtools.panels`](https://developer.chrome.com/docs/extensions/reference/api/devtools/panels) API.
devtools.panels.ElementsPanel
An `ElementsPanel` represents the HTML/CSS inspector in the browser's devtools. This is called the Page Inspector in Firefox and the Elements panel in Chrome. ## Functions - [`devtools.panels.ElementsPanel.createSidebarPane()`](/docs/Mozilla/Add-ons/WebExtensions/API/devtools/panels/ElementsPanel/createSidebarPane) - : Creates a pane in the inspector's sidebar. ## Events - [`devtools.panels.ElementsPanel.onSele
devtools.panels.ElementsPanel.createSidebarPane()
Adds a new pane to the sidebar in the HTML/CSS inspector. The HTML/CSS inspector, called the [Page Inspector](https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/index.html) in Firefox and the [Elements panel](https://developer.chrome.com/docs/devtools/css/) in Chrome, displays the page DOM in the main part of its window, and has a sidebar that displays various other aspects of the page HTML/CSS in
devtools.panels.ExtensionSidebarPane
To create an `ExtensionSidebarPane`, call the [`browser.devtools.panels.elements.createSidebarPane()`](/docs/Mozilla/Add-ons/WebExtensions/API/devtools/panels/ElementsPanel/createSidebarPane) function. ## Functions - [`devtools.panels.ExtensionSidebarPane.setExpression()`](/docs/Mozilla/Add-ons/WebExtensions/API/devtools/panels/ExtensionSidebarPane/setExpression) - : Evaluate a JavaScript expression in the web p