Skip to content

Commit dc60ee9

Browse files
naeramarth7chrisvfritz
authored andcommitted
fix(Events): escape @ in code tags (#1455)
* fix(Events): escape at sign in code tags * Update tip example to v-on instead of @
1 parent 9930eab commit dc60ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ To address this problem, Vue provides **event modifiers** for `v-on`. Recall tha
194194
<div v-on:click.self="doThat">...</div>
195195
```
196196

197-
<p class="tip">Order matters when using modifiers because the relevant code is generated in the same order. Therefore using `@click.prevent.self` will prevent **all clicks** while `@click.self.prevent` will only prevent clicks on the element itself.</p>
197+
<p class="tip">Order matters when using modifiers because the relevant code is generated in the same order. Therefore using `v-on:click.prevent.self` will prevent **all clicks** while `v-on:click.self.prevent` will only prevent clicks on the element itself.</p>
198198

199199
> New in 2.1.4+
200200

0 commit comments

Comments
 (0)