|
8 | 8 | <note id="functional-css"/> |
9 | 9 | <added>1.0</added> |
10 | 10 | <options> |
11 | | - <option name="autoRefresh" type="Boolean" default="true"> |
| 11 | + <option name="autoRefresh" type="Boolean" default="true" example-value='false'> |
12 | 12 | <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> |
13 | 13 | </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'> |
15 | 15 | <desc>Prevents selecting if you start on elements matching the selector.</desc> |
16 | 16 | </option> |
17 | | - <option name="delay" type="Integer" default="0"> |
| 17 | + <option name="delay" type="Integer" default="0" example-value='150'> |
18 | 18 | <desc>Time in milliseconds to define when the selecting should start. This helps prevent unwanted selections when clicking on an element.</desc> |
19 | 19 | </option> |
20 | 20 | <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'> |
22 | 22 | <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> |
23 | 23 | </option> |
24 | | - <option name="filter" type="Selector" default='"*"'> |
| 24 | + <option name="filter" type="Selector" default='"*"' example-value='li'> |
25 | 25 | <desc>The matching child elements will be made selectees (able to be selected).</desc> |
26 | 26 | </option> |
27 | | - <option name="tolerance" type="String" default='"touch"'> |
| 27 | + <option name="tolerance" type="String" default='"touch"' example-value='"fit"'> |
28 | 28 | <desc> |
29 | 29 | Specifies which mode to use for testing whether the lasso should select an item. Possible values: |
30 | 30 | <ul> |
|
0 commit comments