From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Separate Console API page for console.dir())
m (Added categories)
Line 28: Line 28:
* [[console.dirxml]]
* [[console.dirxml]]
* [[Console API]]
* [[Console API]]

Latest revision as of 00:10, 22 November 2013

Prints an interactive listing of all properties of the object.

This looks identical to the view that inside the DOM Panel and also shares the display options with it. I.e. if you have unchecked Show DOM functions for example, they also won't be shown in the output of this command.


[edit] Syntax


[edit] Parameters

[edit] object

Object to display the properties for. (required)

[edit] Examples


Lists all properties of the <body> element.


Lists all properties of the userDefinedProperty variable.

[edit] See also

Personal tools