8000 Spinner: Added keyboard interaction notes. · mauteri/api.jqueryui.com@7b96e2f · GitHub
Skip to content

Commit 7b96e2f

Browse files
committed
Spinner: Added keyboard interaction notes.
1 parent 437d6fc commit 7b96e2f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

entries/spinner.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66
</desc>
77
<longdesc>
88
<p>Spinner wraps a text input, adds two buttons to increment and decrement the current value, along with handling key events for the same purpose. It delegates to <a href="https://github.com/jquery/globalize">Globalize</a> for number formatting and parsing.</p>
9+
10+
<h3>Keyboard interaction</h3>
11+
12+
<ul>
13+
<li>UP: Increment the value by one step.</li>
14+
<li>DOWN: Decrement the value by one step.</li>
15+
<li>PAGE UP: Increment the value by one page.</li>
16+
<li>PAGE DOWN: Decrement the value by one page.</li>
17+
</ul>
18+
19+
<p>Focus stays in the text field, even after using the mouse to click one of the spin buttons.</p>
920
</longdesc>
1021
<note id="functional-css"/>
1122
<added>1.9</added>

0 commit comments

Comments
 (0)