Fix typo in how_to_bind_keydown_events_to_specific_keys.md (#586)
Changes `whenver` -> `whenever`
This commit is contained in:
parent
6b726a340e
commit
284c42d981
|
@ -6,7 +6,7 @@ The [`data-on`](/reference/attribute_plugins#data-on) attribute allows us to att
|
|||
|
||||
## Goal
|
||||
|
||||
Our goal is to show an alert whenver the user presses the `Enter` key, or a combination of the `Ctrl` and `L` keys.
|
||||
Our goal is to show an alert whenever the user presses the `Enter` key, or a combination of the `Ctrl` and `L` keys.
|
||||
|
||||
## Demo
|
||||
|
||||
|
@ -50,4 +50,4 @@ Sometimes, we may want to prevent the default behavior of the keydown event, suc
|
|||
|
||||
## Conclusion
|
||||
|
||||
The `evt` variable is always available in `data-on` expressions. In the case of the [`keydown`](https://developer.mozilla.org/en-US/docs/Web/API/Element/keydown_event) event, which is a [`KeyboardEvent`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent), we can perform actions conditionally, based on any of the event's properties.
|
||||
The `evt` variable is always available in `data-on` expressions. In the case of the [`keydown`](https://developer.mozilla.org/en-US/docs/Web/API/Element/keydown_event) event, which is a [`KeyboardEvent`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent), we can perform actions conditionally, based on any of the event's properties.
|
||||
|
|
Loading…
Reference in New Issue