You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/forms/switch/options.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ <h2>Flip toggle switch</h2>
65
65
<dd>
66
66
<pclass="default">default: null, inherited from parent</p>
67
67
<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>
68
-
<pre><code>$('.selector').slider(<strong>{ theme: "a" }</strong>);</code></pre>
68
+
<pre><code>$('.selector').slider(<strong>{ trackTheme: "a" }</strong>);</code></pre>
69
69
<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>
0 commit comments