Skip to content

Commit c814b99

Browse files
committed
Datepicker: Document key commands for OS X
Fixes jquerygh-183 Closes jquerygh-218
1 parent f79a852 commit c814b99

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

entries/datepicker.xml

+13-12
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@
1010
<h3>Keyboard interaction</h3>
1111
<p>While the datepicker is open, the following key commands are available:</p>
1212
<ul>
13-
<li>PAGE UP: Move to the previous month.</li>
14-
<li>PAGE DOWN: Move to the next month.</li>
15-
<li>CTRL+PAGE UP: Move to the previous year.</li>
16-
<li>CTRL+PAGE DOWN: Move to the next year.</li>
17-
<li>CTRL+HOME: Move to the current month. Open the datepicker if closed.</li>
18-
<li>CTRL+LEFT: Move to the previous day.</li>
19-
<li>CTRL+RIGHT: Move to the next day.</li>
20-
<li>CTRL+UP: Move to the previous week.</li>
21-
<li>CTRL+DOWN: Move the next week.</li>
22-
<li>ENTER: Select the focused date.</li>
23-
<li>CTRL+END: Close the datepicker and erase the date.</li>
24-
<li>ESCAPE: Close the datepicker without selection.</li>
13+
<li><code>PAGE UP</code>: Move to the previous month.</li>
14+
<li><code>PAGE DOWN</code>: Move to the next month.</li>
15+
<li><code>CTRL</code> + <code>PAGE UP</code>: Move to the previous year.</li>
16+
<li><code>CTRL</code> + <code>PAGE DOWN</code>: Move to the next year.</li>
17+
<li><code>CTRL</code> + <code>HOME</code>: Open the datepicker if closed.</li>
18+
<li><code>CTRL</code>/<code>COMMAND</code> + <code>HOME</code>: Move to the current month.</li>
19+
<li><code>CTRL</code>/<code>COMMAND</code> + <code>LEFT</code>: Move to the previous day.</li>
20+
<li><code>CTRL</code>/<code>COMMAND</code> + <code>RIGHT</code>: Move to the next day.</li>
21+
<li><code>CTRL</code>/<code>COMMAND</code> + <code>UP</code>: Move to the previous week.</li>
22+
<li><code>CTRL</code>/<code>COMMAND</code> + <code>DOWN</code>: Move the next week.</li>
23+
<li><code>ENTER</code>: Select the focused date.</li>
24+
<li><code>CTRL</code>/<code>COMMAND</code> + <code>END</code>: Close the datepicker and erase the date.</li>
25+
<li><code>ESCAPE</code>: Close the datepicker without selection.</li>
2526
</ul>
2627

2728
<h3 id="utility-functions">Utility functions</h3>

0 commit comments

Comments
 (0)