<p>This is used to define the selectors (element types, data roles, etc.) that will automatically be initialized as sliders. To change which elements are initialized, bind this option to the <ahref="../../api/globalconfig.html">mobileinit event</a>:</p>
<pclass="default">default: null, inherited from parent</p>
<p>Sets the color scheme (swatch) for all instances of this widget. It accepts a single letter from a-z that maps to the swatches included in your theme. By default, it will inherit the same swatch color as it's parent container if not explicitly set. This option is also exposed as a data attribute: <code>data-theme="a"</code></p>
<pre><code>$('.selector').slider(<strong>{ theme: "a" }</strong>);</code></pre>
</dd>
<dt><code>trackTheme</code><em>string</em></dt>
<dd>
<pclass="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>
<p>This option can be overridden in the markup by assigning a data attribute to the input, e.g. <code>data-track-theme="a"</code>.</p>