Skip to content

Commit

Permalink
Missing letter (#1081)
Browse files Browse the repository at this point in the history
* Missing letter

* Update separate to different for clarification
  • Loading branch information
whoan authored and chrisvfritz committed Aug 15, 2017
1 parent 89150cc commit bb4e222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v2/guide/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ Every Vue instance implements an [events interface](../api/#Instance-Methods-Eve
- Listen to an event using `$on(eventName)`
- Trigger an event using `$emit(eventName)`

<p class="tip">Note that Vue's event system is separate from the browser's [EventTarget API](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget). Though they work similarly, `$on` and `$emit` are __not__ aliases for `addEventListener` and `dispatchEvent`.</p>
<p class="tip">Note that Vue's event system is different from the browser's [EventTarget API](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget). Though they work similarly, `$on` and `$emit` are __not__ aliases for `addEventListener` and `dispatchEvent`.</p>

In addition, a parent component can listen to the events emitted from a child component using `v-on` directly in the template where the child component is used.

Expand Down

0 comments on commit bb4e222

Please sign in to comment.