Skip to content

Update events.md #724

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
Apr 27, 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
2 changes: 1 addition & 1 deletion src/v2/guide/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Vue 还对应 [`addEventListener` 中的 `passive` 选项](https://developer.moz

这个 `.passive` 修饰符尤其能够提升移动端的性能。

<p class="tip">不要把 `.passive` 和 `.prevent` 一起使用,因为 `.prevent` 将会被忽略,同时浏览器可能会向你展示一个警告。请记住,`.passive` 会告诉浏览器你_不_想阻止事件的默认行为。</p>
<p class="tip">不要把 `.passive` 和 `.prevent` 一起使用,因为 `.prevent` 将会被忽略,同时浏览器可能会向你展示一个警告。请记住,`.passive` 会告诉浏览器你*不*想阻止事件的默认行为。</p>

## 按键修饰符

Expand Down