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.
devtools.panels.ElementsPanel.createSidebarPane()
Creates a pane in the inspector's sidebar.
devtools.panels.ElementsPanel.onSelectionChanged
Fired when the user selects a different element in the page, for example using the "Inspect element" context menu item.
BCD tables only load in the browser
注意:
This API is based on Chromium's
chrome.devtools
API。
最后修改: , 由 MDN 贡献者