Merge pull request #3349 from agcolom/patch-51

Update docs/forms/switch/options.html
This commit is contained in:
Ghislain Seguin 2011-12-28 13:20:40 -08:00
commit 1c284c1f9c

View file

@ -65,7 +65,7 @@
<dd>
<p class="default">default: null, inherited from parent</p>
<p>Sets the color scheme (swatch) for the slider's track, specifically. It accepts a single letter from a-z that maps to the swatches included in your theme.</p>
<pre><code>$('.selector').slider(<strong>{ theme: "a" }</strong>);</code></pre>
<pre><code>$('.selector').slider(<strong>{ trackTheme: "a" }</strong>);</code></pre>
<p>This option can be overridden in the markup by assigning a data attribute to the input, e.g. <code>data-track-theme=&quot;a&quot;</code>.</p>
</dd>