Table

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Separate Command Line API page for table())
m (Added categories)
 
(4 intermediate revisions not shown)
Line 1: Line 1:
-
Allows to log provided data using tabular layout. The method takes one required parameter that represents table-like data (array of arrays or list of objects). The optional <code>columns</code> parameter can be used to specify columns and/or properties to be logged (see more at [http://www.softwareishard.com/blog/firebug/tabular-logs-in-firebug/ softwareishard.com]).
+
Allows to log provided data using tabular layout. The method takes one required parameter that represents table-like data (array of arrays or list of objects). The optional <code>columns</code> parameter can be used to specify columns and/or properties to be logged.
 +
 
 +
This command is a shortcut for the [[console.table]] API.
 +
 
 +
== Syntax ==
 +
<source lang="javascript">
 +
table(data[, columns])
 +
</source>
 +
 
 +
== See also ==
 +
* [[Command Line API]]
 +
 
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Latest revision as of 00:06, 22 November 2013

Allows to log provided data using tabular layout. The method takes one required parameter that represents table-like data (array of arrays or list of objects). The optional columns parameter can be used to specify columns and/or properties to be logged.

This command is a shortcut for the console.table API.

[edit] Syntax

table(data[, columns])

[edit] See also

Personal tools