Skip to content

Commit 0c0b6f0

Browse files
authored
Update events.md (#1425)
1 parent f5a38e3 commit 0c0b6f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ To address this problem, Vue provides **event modifiers** for `v-on`. Recall tha
171171
```
172172

173173
::: tip
174-
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.
174+
Order matters when using modifiers because the relevant code is generated in the same order. Therefore using `@click.prevent.self` will prevent **clicks default action on the element itself and its children** while `@click.self.prevent` will only prevent clicks default action on the element itself.
175175
:::
176176

177177
```html

0 commit comments

Comments
 (0)