Skip to content

Commit f0af2ad

Browse files
committed
Table: Add classes option
1 parent f0e2f5f commit f0af2ad

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

entries/table.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,12 @@
6767
</longdesc>
6868
<added>1.3</added>
6969
<options>
70-
<option name="classes.table" default='"ui-table"' >
71-
<desc>Class assigned to the table.
72-
<p>The classes option is only configurable via JavaScript because it expects an object literal value.</p></desc>
73-
<type name="String" />
70+
<option name="classes" type="Object">
71+
<default>{
72+
"ui-table": ""
73+
}</default>
74+
<xi:include href="../includes/classes-option-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
75+
<xi:include href="../includes/classes-option-example.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
7476
</option>
7577
<xi:include href="../includes/widget-option-defaults.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
7678
<xi:include href="../includes/widget-option-disabled.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>

0 commit comments

Comments
 (0)