From 4feb8343fc1e66ec51b94e71e3e82bfae9468038 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 19 Sep 2024 18:03:29 +0200 Subject: [PATCH] Update docs/rules/no-shadow-native-events.md Co-authored-by: Flo Edelmann --- docs/rules/no-shadow-native-events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-shadow-native-events.md b/docs/rules/no-shadow-native-events.md index c548f6bad..f9581f4b9 100644 --- a/docs/rules/no-shadow-native-events.md +++ b/docs/rules/no-shadow-native-events.md @@ -20,7 +20,7 @@ Using native event names for emits can lead to incorrect assumptions about an em - The payload of an emit can be chosen arbitrarily - Vue emits do not bubble, while most native events do - [Event modifiers](https://vuejs.org/guide/essentials/event-handling.html#event-modifiers) only work on HTML events or when the original event is re-emitted as emit payload. -- When the native event is remitted the `event.target` might not match the actual event-listeners location. +- When the native event is re-emitted, the `event.target` might not match the actual event-listeners location. The rule is mostly aimed at developers of component libraries.