Skip to content

Commit dfa7fab

Browse files
authored
Fix punctuation mark typos (#1610)
* Fix typo: missing punctuation mark This fix adds a period at the end of the sentence. * Fix typo: remove unnecessary backticks
1 parent efa7ff9 commit dfa7fab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/essentials/event-handling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Sometimes we also need to access the original DOM event in an inline handler. Yo
194194

195195
```js
196196
function warn(message, event) {
197-
// `now we have access to the native event`
197+
// now we have access to the native event
198198
if (event) {
199199
event.preventDefault()
200200
}
@@ -331,7 +331,7 @@ For example:
331331
```
332332

333333
::: tip
334-
Note that modifier keys are different from regular keys and when used with `keyup` events, they have to be pressed when the event is emitted. In other words, `keyup.ctrl` will only trigger if you release a key while holding down `ctrl`. It won't trigger if you release the `ctrl` key alone
334+
Note that modifier keys are different from regular keys and when used with `keyup` events, they have to be pressed when the event is emitted. In other words, `keyup.ctrl` will only trigger if you release a key while holding down `ctrl`. It won't trigger if you release the `ctrl` key alone.
335335
:::
336336

337337
### `.exact` Modifier

0 commit comments

Comments
 (0)