Update docs/forms/switch/options.html

This commit is contained in:
Anne-Gaelle Colom 2011-12-28 21:16:43 +00:00
parent 138547c28a
commit 029ebc2cb7

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>