From 4670fcd4780b283d74c40770fa2c9e8426d5dd5e Mon Sep 17 00:00:00 2001 From: chenfan <83797583+chenfan0@users.noreply.github.com> Date: Wed, 9 Mar 2022 09:48:23 +0800 Subject: [PATCH] Update event-handling.md --- src/guide/essentials/event-handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/essentials/event-handling.md b/src/guide/essentials/event-handling.md index 1e1bb51ef9..0396786226 100644 --- a/src/guide/essentials/event-handling.md +++ b/src/guide/essentials/event-handling.md @@ -251,7 +251,7 @@ To address this problem, Vue provides **event modifiers** for `v-on`. Recall tha ``` ::: 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. +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. ::: The `.capture`, `.once`, and `.passive` modifiers mirror the [options of the native `addEventListener` method](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Parameters):