Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakan committed May 11, 2019
1 parent f8570ae commit 29a3c58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2-ui/3-event-details/5-keyboard-events/article.md
Expand Up @@ -110,9 +110,9 @@ So, to reliably track layout-dependent characters, `event.key` may be a better w

## Auto-repeat

If a key is being pressed for a long enough time, it starts to repeat: the `keydown` triggers again and again, and then when it's released we finally get `keyup`. So it's kind of normal to have many `keydown` and a single `keyup`.
If a key is being pressed for a long enough time, it starts to "auto-repeat": the `keydown` triggers again and again, and then when it's released we finally get `keyup`. So it's kind of normal to have many `keydown` and a single `keyup`.

For all repeating keys the event object has `event.repeat` property set to `true`.
For events triggered by auto-repeat, the event object has `event.repeat` property set to `true`.


## Default actions
Expand Down

0 comments on commit 29a3c58

Please sign in to comment.