Skip to content

Commit 1e7c679

Browse files
committed
changes to go
.
1 parent c3b5242 commit 1e7c679

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

src/lib/datepicker/datepicker.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -239,41 +239,41 @@ should have a placeholder or be given a meaningful label via `aria-label`, `aria
239239
#### Keyboard shortcuts
240240
The keyboard shortcuts to handle datepicker are:
241241

242-
| Shortcut | Action |
243-
|----------------------|-----------------------------------|
244-
| `ALT` + `DOWN_ARROW` | Open the calendar pop-up |
245-
| `ESCAPE` | Close the calendar pop-up |
242+
| Shortcut | Action |
243+
|----------------------|-------------------------------------|
244+
| `ALT` + `DOWN_ARROW` | Open the calendar pop-up |
245+
| `ESCAPE` | Close the calendar pop-up |
246246

247247

248248
In month view:
249249

250-
| Shortcut | Action |
251-
|----------------------|-----------------------------------|
252-
| `LEFT_ARROW` | Goes to previous day |
253-
| `RIGHT_ARROW` | Goes to next day |
254-
| `UP_ARROW` | Goes to previous 7 days |
255-
| `DOWN_ARROW` | Goes to next 7 days |
256-
| `HOME` | Focus the first day of the month |
257-
| `END` | Focus the last day of the month |
258-
| `PAGE_UP` | Goes to previous month |
259-
| `ALT` + `PAGE_UP` | Goes to previous year |
260-
| `PAGE_DOWN` | Goes to next month |
261-
| `ALT` + `PAGE_DOWN` | Goes to next year |
262-
| `ENTER` | Select current date |
250+
| Shortcut | Action |
251+
|----------------------|-------------------------------------|
252+
| `LEFT_ARROW` | Go to previous day |
253+
| `RIGHT_ARROW` | Go to next day |
254+
| `UP_ARROW` | Go to same day in the previous week |
255+
| `DOWN_ARROW` | Go to same day in the next week |
256+
| `HOME` | Go to the first day of the month |
257+
| `END` | Go to the last day of the month |
258+
| `PAGE_UP` | Go to previous month |
259+
| `ALT` + `PAGE_UP` | Go to previous year |
260+
| `PAGE_DOWN` | Go to next month |
261+
| `ALT` + `PAGE_DOWN` | Go to next year |
262+
| `ENTER` | Select current date |
263263

264264

265265
In year view:
266266

267-
| Shortcut | Action |
268-
|----------------------|-----------------------------------|
269-
| `LEFT_ARROW` | Goes to previous month |
270-
| `RIGHT_ARROW` | Goes to next month |
271-
| `UP_ARROW` | Goes to previous 6 months |
272-
| `DOWN_ARROW` | Goes to next 6 months |
273-
| `HOME` | Focus the first month of the year |
274-
| `END` | Focus the last month of the year |
275-
| `PAGE_UP` | Goes to previous year |
276-
| `ALT` + `PAGE_UP` | Goes to previous 10 years |
277-
| `PAGE_DOWN` | Goes to next year |
278-
| `ALT` + `PAGE_DOWN` | Goes to next 10 years |
279-
| `ENTER` | Select current month |
267+
| Shortcut | Action |
268+
|----------------------|-------------------------------------|
269+
| `LEFT_ARROW` | Go to previous month |
270+
| `RIGHT_ARROW` | Go to next month |
271+
| `UP_ARROW` | Go to previous 6 months |
272+
| `DOWN_ARROW` | Go to next 6 months |
273+
| `HOME` | Go to the first month of the year |
274+
| `END` | Go to the last month of the year |
275+
| `PAGE_UP` | Go to previous year |
276+
| `ALT` + `PAGE_UP` | Go to previous 10 years |
277+
| `PAGE_DOWN` | Go to next year |
278+
| `ALT` + `PAGE_DOWN` | Go to next 10 years |
279+
| `ENTER` | Select current month |

0 commit comments

Comments
 (0)