Skip to content

Update events.md #752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 5, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/v2/guide/events.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: イベントハンドリング
updated: 2018-02-25
updated: 2018-03-05
type: guide
order: 9
---
Expand Down Expand Up @@ -296,7 +296,7 @@ Vue.config.keyCodes.f1 = 112
<div @click.ctrl="doSomething">Do something</div>
```

<p class="tip">修飾子キーは通常のキーとは異なり、`keyup` イベントと一緒に使用するときは、イベントが発生したときに押さなければならないことに注意してください。言い換えると、`keyup.ctrl` は `ctrl` を押しながらキーを離したときにのみ、トリガされます。`ctrl` キーだけを離すと、トリガされません。</p>
<p class="tip">修飾子キーは通常のキーとは異なり、`keyup` イベントと一緒に使用するときは、イベントが発生したときに押さなければならないことに注意してください。言い換えると、`keyup.ctrl` は `ctrl` を押しながらキーを離したときにのみ、トリガされます。`ctrl` キーだけを離すと、トリガされません。そのような動作を望む場合、`ctrl` ではなく `keyup.17` のように `keyCode` を使用してください。</p>

### `.exact` 修飾子

Expand Down