Skip to content

Commit 07529f7

Browse files
committed
Tabs: Added option examples.
1 parent 4a8f7e0 commit 07529f7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

entries/tabs.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<note id="functional-css"/>
3232
<added>1.0</added>
3333
<options>
34-
<option name="active" default="0">
34+
<option name="active" default="0" example-value="1">
3535
<desc>
3636
Which panel is currently open.
3737
</desc>
@@ -42,22 +42,22 @@
4242
<desc>The zero-based index of the panel that is active (open). A negative value selects panels going backward from the last panel.</desc>
4343
</type>
4444
</option>
45-
<option name="collapsible" type="Boolean" default="false">
45+
<option name="collapsible" type="Boolean" default="false" example-value="true">
4646
<desc>When set to <code>true</code>, the active panel can be closed.</desc>
4747
</option>
48-
<option name="disabled" default="false">
49-
<desc>Which tabs are disabled.</desc>
48+
<option name="disabled" default="false" example-value="[ 0, 2 ]">
49+
<desc>Which tabs are disabled.</desc>
5050
<type name="Boolean">
5151
<desc>Enable or disable all tabs.</desc>
5252
</type>
5353
<type name="Array">
5454
<desc>An array containing the zero-based indexes of the tabs that should be disabled, e.g., <code>[ 0, 2 ]</code> would disable the first and third tab.</desc>
5555
</type>
5656
</option>
57-
<option name="event" type="String" default='"click"'>
57+
<option name="event" type="String" default='"click"' example-value='"mouseover"'>
5858
<desc>The type of event that the tabs should react to in order to activate the tab. To activate on hover, use <code>"mouseover"</code>.</desc>
5959
</option>
60-
<option name="heightStyle" type="String" default='"content"'>
60+
<option name="heightStyle" type="String" default='"content"' example-value='"fill"'>
6161
<desc>
6262
Controls the height of the tabs widget and each panel. Possible values:
6363
<ul>

0 commit comments

Comments
 (0)