Skip to content

Commit 684353e

Browse files
committed
Added description of keyboard equivalents
1 parent c81e63f commit 684353e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

demos/datepicker/default.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@
2424
<div class="demo-description">
2525

2626
<p>This is a default datepicker which is tied to a standard form input. The calendar opens in a small overlay onFocus and closes automatically onBlur if a date if selected.</p>
27+
<p>You can also use the keyboard to drive the datepicker:</p>
28+
<ul>
29+
<li>page up/down - previous/next month</li>
30+
<li>ctrl+page up/down - previous/next year</li>
31+
<li>ctrl+home - current month or open when closed</li>
32+
<li>ctrl+left/right - previous/next day</li>
33+
<li>ctrl+up/down - previous/next week</li>
34+
<li>enter - accept the selected date</li>
35+
<li>ctrl+end - close and erase the date</li>
36+
<li>escape - close the datepicker without selection</li>
37+
</ul>
2738

2839
</div><!-- End demo-description -->
2940

0 commit comments

Comments
 (0)