Skip to content

Commit 6cff0c6

Browse files
authored
1 parent e0ae187 commit 6cff0c6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/guide/events.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# イベントハンドリング
22

3-
<div class="vueschool"><a href="https://vueschool.io/lessons/vuejs-user-events?friend=vuejs" target="_blank" rel="sponsored noopener" title="Learn how to handle events on Vue School">イベントハンドリングする方法を Vue School の無料レッスンで学ぶ</a></div>
4-
53
## イベントの購読
64

75
`v-on` ディレクティブを使うことで、DOM イベントの購読、イベント発火時の JavaScript の実行が可能になります。これは通常 `@` に省略することができます。`v-on:click="methodName"` もしくは `@click="methodName"` と書いて使用します。
@@ -19,7 +17,7 @@
1917
Vue.createApp({
2018
data() {
2119
return {
22-
counter: 1
20+
counter: 0
2321
}
2422
}
2523
}).mount('#basic-event')

0 commit comments

Comments
 (0)