Skip to content

Commit fa8eca1

Browse files
committed
Docs: correcting boolean options not to use quotes (docs/forms/slider/options.html)
1 parent 244eaf4 commit fa8eca1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/forms/slider/options.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ <h2>Slider</h2>
4242
<dd>
4343
<p class="default">default: false</p>
4444
<p>Sets the default state of the slider to disabled when "true".</p>
45-
<pre><code>$('.selector').slider(<strong>{ disabled: "true" }</strong>);</code></pre>
45+
<pre><code>$('.selector').slider(<strong>{ disabled: true }</strong>);</code></pre>
4646
</dd>
4747

4848
<dt><code>highlight</code> <em>boolean</em></dt>
4949
<dd>
5050
<p class="default">default: false</p>
5151
<p>Sets an active state fill on the track from the left edge to the slider handle when set to "true".</p>
52-
<pre><code>$('.selector').slider(<strong>{ highlight: "true" }</strong>);</code></pre>
52+
<pre><code>$('.selector').slider(<strong>{ highlight: true }</strong>);</code></pre>
5353
</dd>
5454

5555
<dt><code>initSelector</code> <em>CSS selector string</em></dt>
@@ -66,7 +66,7 @@ <h2>Slider</h2>
6666
<dd>
6767
<p class="default">default: false</p>
6868
<p>Sets the size of the element to a more compact, <a href="../forms-all-mini.html">mini version</a>. This option is also exposed as a data attribute: <code>data-mini=&quot;true&quot;</code></p>
69-
<pre><code>$('.selector').slider(<strong>{ mini: "true" }</strong>);</code></pre>
69+
<pre><code>$('.selector').slider(<strong>{ mini: true }</strong>);</code></pre>
7070
</dd>
7171

7272
<dt><code>theme</code> <em>string</em></dt>

0 commit comments

Comments
 (0)