Inspect

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Separate Command Line API page for inspect())
(Added description of syntax, hint for needing help and linked back to Command Line API)
Line 1: Line 1:
 +
{{needsHelp}}
 +
Inspects an object in the most suitable panel, or the panel identified by the optional argument <code>panelName</code>.
Inspects an object in the most suitable panel, or the panel identified by the optional argument <code>panelName</code>.
-
The available panel names are "html", "stylesheet", "script", and "dom".
+
The available panel names integrated into Firebug are "html", "stylesheet", "script", "dom", "net" and "cookies" (though the [[Net Panel]] and the [[Cookies Panel]] currently don't support inspecting).
 +
 
 +
== Syntax ==
 +
<source lang="javascript">
 +
inspect(object[, panelName])
 +
</source>
 +
 
 +
== See also ==
 +
* [[Command Line API]]

Revision as of 11:06, 5 July 2012

This article is incomplete. Please help to add more information to it. If you're not registered yet, you can ask for an account.

Inspects an object in the most suitable panel, or the panel identified by the optional argument panelName.

The available panel names integrated into Firebug are "html", "stylesheet", "script", "dom", "net" and "cookies" (though the Net Panel and the Cookies Panel currently don't support inspecting).

Syntax

inspect(object[, panelName])

See also

Personal tools