Skip to content

Commit 34a91de

Browse files
01abhishekjainchrisvfritz
authored andcommitted
Update events.md (vuejs#1446)
* Update events.md * Tweak wording and grammar in key modifiers
1 parent 6ab6f33 commit 34a91de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ For example:
295295
<div @click.ctrl="doSomething">Do something</div>
296296
```
297297

298-
<p class="tip">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.</p>
298+
<p class="tip">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. If you do want such behaviour, use the `keyCode` for `ctrl` instead: `keyup.17`.</p>
299299

300300
### `.exact` Modifier
301301

0 commit comments

Comments
 (0)