Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
サンプルコードの関数名の変更に追従 (#215)
Browse files Browse the repository at this point in the history
#174 で関数名が変更になっていた。
  • Loading branch information
ryo-endo committed Oct 12, 2023
1 parent 53abd89 commit c63f8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function alertDialog() {
`keyup` イベントにキーコード `enter``.`(ドット)でつなげて、`alert` メソッドを記述しました。`input` タグにフォーカスし、キーボードの `Enter` を押すと `alert` メソッドが実行されます。また、`click` イベントと同様に `keyup` イベントも `v-on` ディレクティブの省略が可能です。

```html
<input @keyup.enter="alert" />
<input @keyup.enter="alertDialog" />
```

### 使用可能なキーコード
Expand Down

0 comments on commit c63f8f5

Please sign in to comment.