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.

2 results across 6 corpora for devtools.panels.ElementsPanel.setExpression().

Developer library 2

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

devtools.panels.ElementsPanel.setExpression()

Evaluates an expression in the context of the inspected page, and displays the result in the extension sidebar pane. The expression's execution context is the same as that for [`inspectedWindow.eval()`](/docs/Mozilla/Add-ons/WebExtensions/API/devtools/inspectedWindow/eval). JSON objects and DOM nodes are displayed as an expandable tree, as in the [JSON viewer](https://firefox-source-docs.mozilla.org/devtools-user/j

JSON results · Services directory