diff options
author | Marvin Borner | 2018-07-13 19:06:45 +0200 |
---|---|---|
committer | Marvin Borner | 2018-07-13 19:06:45 +0200 |
commit | 6fcfb7c04d32e1c8b26a312295bf7ac3ec2d2ad7 (patch) | |
tree | dbc87ef16fa01d5d99116de283592b8fe5e02944 /public/bower_components/bootstrap-datepicker/docs/keyboard.rst | |
parent | dfd839f27146df0ad0494e11734fc7d310c70ebf (diff) |
Fixed many permissions and began admin interface
Diffstat (limited to 'public/bower_components/bootstrap-datepicker/docs/keyboard.rst')
-rw-r--r-- | public/bower_components/bootstrap-datepicker/docs/keyboard.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/public/bower_components/bootstrap-datepicker/docs/keyboard.rst b/public/bower_components/bootstrap-datepicker/docs/keyboard.rst new file mode 100644 index 0000000..e34ba65 --- /dev/null +++ b/public/bower_components/bootstrap-datepicker/docs/keyboard.rst @@ -0,0 +1,27 @@ +Keyboard support +================ + +The datepicker includes keyboard navigation. The "focused date" is kept track of and highlighted (as with mouse hover) during keyboard nav, and is cleared when a date is toggled or the picker is hidden. + +up, down, left, right arrow keys +-------------------------------- + +By themselves, left/right will move focus backward/forward one day, up/down will move focus back/forward one week. + +With the shift key, up/left will move focus backward one month, down/right will move focus forward one month. + +With the ctrl key, up/left will move focus backward one year, down/right will move focus forward one year. + +Shift+ctrl behaves the same as ctrl -- that is, it does not change both month and year simultaneously, only the year. + +enter +----- + +When the picker is visible, enter will toggle the focused date (if there is one). When the picker is not visible, enter will have normal effects -- submitting the current form, etc. + +When the date is deselected, the ``clearDate`` event is triggered; otherwise, the ``changeDate`` event is triggered. If ``autoclose`` is enabled, the picker will be hidden after selection or deselection. + +escape +------ + +The escape key can be used to clear the focused date and hide and re-show the datepicker; hiding the picker is necessary if the user wants to manually edit the value. |