Skip to content

Commit 7024dea

Browse files
committed
Selectable: Added option examples.
1 parent b173436 commit 7024dea

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

entries/selectable.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
<note id="functional-css"/>
99
<added>1.0</added>
1010
<options>
11-
<option name="autoRefresh" type="Boolean" default="true">
11+
<option name="autoRefresh" type="Boolean" default="true" example-value='false'>
1212
<desc>This determines whether to refresh (recalculate) the position and size of each selectee at the beginning of each select operation. If you have many items, you may want to set this to false and call the <a href="#method-refresh"><code>refresh()</code></a> method manually.</desc>
1313
</option>
14-
<option name="cancel" type="Selector" default='"input,textarea,button,select,option"'>
14+
<option name="cancel" type="Selector" default='"input,textarea,button,select,option"' example-value='a,.cancel'>
1515
<desc>Prevents selecting if you start on elements matching the selector.</desc>
1616
</option>
17-
<option name="delay" type="Integer" default="0">
17+
<option name="delay" type="Integer" default="0" example-value='150'>
1818
<desc>Time in milliseconds to define when the selecting should start. This helps prevent unwanted selections when clicking on an element.</desc>
1919
</option>
2020
<xi:include href="../includes/widget-option-disabled.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
21-
<option name="distance" type="Number" default="0">
21+
<option name="distance" type="Number" default="0" example-value='30'>
2222
<desc>Tolerance, in pixels, for when selecting should start. If specified, selecting will not start until the mouse has been dragged beyond the specified distance.</desc>
2323
</option>
24-
<option name="filter" type="Selector" default='"*"'>
24+
<option name="filter" type="Selector" default='"*"' example-value='li'>
2525
<desc>The matching child elements will be made selectees (able to be selected).</desc>
2626
</option>
27-
<option name="tolerance" type="String" default='"touch"'>
27+
<option name="tolerance" type="String" default='"touch"' example-value='"fit"'>
2828
<desc>
2929
Specifies which mode to use for testing whether the lasso should select an item. Possible values:
3030
<ul>

0 commit comments

Comments
 (0)