Skip to content

Commit

Permalink
Update docs/rules/no-shadow-native-events.md
Browse files Browse the repository at this point in the history
Co-authored-by: Flo Edelmann <[email protected]>
  • Loading branch information
JoCa96 and FloEdelmann committed Sep 19, 2024
1 parent 44f5eb4 commit b62c161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-shadow-native-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description: disallow the use of event names that collide with native web event

## :book: Rule Details

This rule reports emits that shadow native HTML events. (The `emits` option is a new in Vue.js 3.0.0+)
This rule reports emits that shadow native HTML events.

Using native event names for emits can lead to incorrect assumptions about an emit and cause confusion. This is caused by Vue emits behaving differently from native events. E.g. :

Expand Down

0 comments on commit b62c161

Please sign in to comment.