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
-
Creates a pane in the inspector's sidebar.
Events
devtools.panels.ElementsPanel.onSelectionChanged
-
Fired when the user selects a different element in the page, for example using the "Inspect element" context menu item.
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
ElementsPanel | |||||||
createSidebarPane | |||||||
onSelectionChanged |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Note:
This API is based on Chromium's chrome.devtools
API.