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: documentation/more.php
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,17 @@
20
20
21
21
<div class="view">
22
22
23
-
<p>Disabling a slider is identical to disabling a checkbox or textarea; add the <code class="language-markup">disabled</code> attribute.</p>
23
+
<p>A slider can be disabled by calling the <code>disable</code> method in the API.</p>
24
24
25
25
<p>A disabled slider can't be changed by user interaction (sliding, clicking or touching), but its value can still be changed using the <code>.set()</code> method.</p>
26
26
27
27
<p>CSS can be used to show the disabled state. The default stylesheet also sets a <code>not-allowed</code> cursor.</p>
28
28
29
29
<p>The slider below is disabled when the checkbox is checked, and re-enabled when it is unchecked.</p>
30
30
31
-
<p>Individual handles can be disabled by adding a <code>disabled</code> attribute to a <code>.noUi-origin</code> element.</p>
31
+
<p>Individual handles can be disabled by calling the <code>disable</code> with a zero-index handle number. Disabling an individual handle will also prevent it from having <code>focus</code>.</p>
32
+
33
+
<p>The slider or handles can re re-enabled using the <code>enable</code> method.</p>
0 commit comments