|
10 | 10 | <note id="functional-css"/> |
11 | 11 | <added>1.5</added> |
12 | 12 | <options> |
13 | | - <option name="animate" default="false"> |
| 13 | + <option name="animate" default="false" example-value='"fast"'> |
14 | 14 | <desc>Whether to slide the handle smoothly when the user clicks on the slider track. Also accepts any valid <a href="//api.jquery.com/animate/#duration">animation duration</a>.</desc> |
15 | 15 | <type name="Boolean"> |
16 | 16 | <desc>When set to <code>true</code>, the handle will animate with the default duration.</desc> |
|
23 | 23 | </type> |
24 | 24 | </option> |
25 | 25 | <xi:include href="../includes/widget-option-disabled.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> |
26 | | - <option name="max" type="Number" default="100"> |
| 26 | + <option name="max" type="Number" default="100" example-value='50'> |
27 | 27 | <desc>The maximum value of the slider.</desc> |
28 | 28 | </option> |
29 | | - <option name="min" type="Number" default="0"> |
| 29 | + <option name="min" type="Number" default="0" example-value='10'> |
30 | 30 | <desc>The minimum value of the slider.</desc> |
31 | 31 | </option> |
32 | | - <option name="orientation" type="String" default='"horizontal"'> |
| 32 | + <option name="orientation" type="String" default='"horizontal"' example-value='"vertical"'> |
33 | 33 | <desc>Determines whether the slider handles move horizontally (min on left, max on right) or vertically (min on bottom, max on top). Possible values: <code>"horizontal"</code>, <code>"vertical"</code>.</desc> |
34 | 34 | </option> |
35 | | - <option name="range" default="false"> |
| 35 | + <option name="range" default="false" example-value='true'> |
36 | 36 | <desc>Whether the slider represents a range.</desc> |
37 | 37 | <type name="Boolean"> |
38 | 38 | <desc>If set to <code>true</code>, the slider will detect if you have two handles and create a stylable range element between these two.</desc> |
|
41 | 41 | <desc>Either <code>"min"</code> or <code>"max"</code>. A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.</desc> |
42 | 42 | </type> |
43 | 43 | </option> |
44 | | - <option name="step" type="Number" default="1"> |
| 44 | + <option name="step" type="Number" default="1" example-value='5'> |
45 | 45 | <desc>Determines the size or amount of each interval or step the slider takes between the min and max. The full specified value range of the slider (max - min) should be evenly divisible by the step.</desc> |
46 | 46 | </option> |
47 | | - <option name="value" type="Number" default="0"> |
| 47 | + <option name="value" type="Number" default="0" example-value='10'> |
48 | 48 | <desc>Determines the value of the slider, if there's only one handle. If there is more than one handle, determines the value of the first handle.</desc> |
49 | 49 | </option> |
50 | | - <option name="values" type="Array" default='null'> |
| 50 | + <option name="values" type="Array" default='null' example-value='[ 10, 25 ]'> |
51 | 51 | <desc>This option can be used to specify multiple handles. If the <a href="#option-range"><code>range</code></a> option is set to <code>true</code>, the length of <code>values</code> should be 2.</desc> |
52 | 52 | </option> |
53 | 53 | </options> |
|
0 commit comments