Skip to content

Commit

Permalink
typo: style modification (#1030)
Browse files Browse the repository at this point in the history
* typo: style modification

* typo: fix link

* Revert "typo: style modification"

This reverts commit 5b68065.
  • Loading branch information
yanquanfahei authored Dec 6, 2024
1 parent 646550c commit 722f01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/essentials/event-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ methods: {
<input @keyup.enter="submit" />
```

你可以直接使用 [`KeyboardEvent.key`](https://developer.mozilla.org/zh-CN/docs/Web/API/KeyboardEvent/key/Key_Values) 暴露的按键名称作为修饰符,但需要转为 kebab-case 形式。
你可以直接使用 [`KeyboardEvent.key`](https://developer.mozilla.org/zh-CN/docs/Web/API/UI_Events/Keyboard_event_key_values) 暴露的按键名称作为修饰符,但需要转为 kebab-case 形式。

```vue-html
<input @keyup.page-down="onPageDown" />
Expand Down

0 comments on commit 722f01a

Please sign in to comment.