Skip to content

Commit e8cf8da

Browse files
authored
Minor edit to paragraph in Custom Events section (#610)
* Clarify and avoid using "In the event" to lead a phrase on events * Update component-custom-events.md
1 parent a09c316 commit e8cf8da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/component-custom-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ app.component('custom-form', {
3333
})
3434
```
3535

36-
In the event a native event (e.g., `click`) is defined in the `emits` option, it will be overwritten by the event in the component instead of being treated as a native listener.
36+
When a native event (e.g., `click`) is defined in the `emits` option, the component event will be used __instead__ of a native event listener.
3737

3838
::: tip
3939
It is recommended to define all emitted events in order to better document how a component should work.

0 commit comments

Comments
 (0)