Skip to content

Commit

Permalink
changes to focus
Browse files Browse the repository at this point in the history
  • Loading branch information
tinayuangao committed Aug 30, 2017
1 parent 1ff6b8c commit 2a0fb62
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/lib/datepicker/datepicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,31 +249,31 @@ In month view:

| Shortcut | Action |
|----------------------|-----------------------------------|
| `LEFT_ARROW` | Goes to previous day |
| `RIGHT_ARROW` | Goes to next day |
| `UP_ARROW` | Goes to previous 7 days |
| `DOWN_ARROW` | Goes to next 7 days |
| `LEFT_ARROW` | Focus previous day |
| `RIGHT_ARROW` | Focus next day |
| `UP_ARROW` | Focus previous 7 days |
| `DOWN_ARROW` | Focus next 7 days |
| `HOME` | Focus the first day of the month |
| `END` | Focus the last day of the month |
| `PAGE_UP` | Goes to previous month |
| `ALT` + `PAGE_UP` | Goes to previous year |
| `PAGE_DOWN` | Goes to next month |
| `ALT` + `PAGE_DOWN` | Goes to next year |
| `PAGE_UP` | Focus previous month |
| `ALT` + `PAGE_UP` | Focus previous year |
| `PAGE_DOWN` | Focus next month |
| `ALT` + `PAGE_DOWN` | Focus next year |
| `ENTER` | Select current date |


In year view:

| Shortcut | Action |
|----------------------|-----------------------------------|
| `LEFT_ARROW` | Goes to previous month |
| `RIGHT_ARROW` | Goes to next month |
| `UP_ARROW` | Goes to previous 6 months |
| `DOWN_ARROW` | Goes to next 6 months |
| `LEFT_ARROW` | Focus previous month |
| `RIGHT_ARROW` | Focus next month |
| `UP_ARROW` | Focus previous 6 months |
| `DOWN_ARROW` | Focus next 6 months |
| `HOME` | Focus the first month of the year |
| `END` | Focus the last month of the year |
| `PAGE_UP` | Goes to previous year |
| `ALT` + `PAGE_UP` | Goes to previous 10 years |
| `PAGE_DOWN` | Goes to next year |
| `ALT` + `PAGE_DOWN` | Goes to next 10 years |
| `PAGE_UP` | Focus previous year |
| `ALT` + `PAGE_UP` | Focus previous 10 years |
| `PAGE_DOWN` | Focus next year |
| `ALT` + `PAGE_DOWN` | Focus next 10 years |
| `ENTER` | Select current month |

0 comments on commit 2a0fb62

Please sign in to comment.