Skip to content

Commit 98a3946

Browse files
byogchrisvfritz
authored andcommitted
Update components.md (#1708)
update incorrect link
1 parent 1f75ee2 commit 98a3946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ The problem is, this button doesn't do anything:
323323
</button>
324324
```
325325

326-
When we click on the button, we need to communicate to the parent that it should enlarge the text of all posts. Fortunately, Vue instances provide a custom events system to solve this problem. To emit an event to the parent, we can call the built-in [**`$emit`** method](../api/#Instance-Methods-Events), passing the name of the event:
326+
When we click on the button, we need to communicate to the parent that it should enlarge the text of all posts. Fortunately, Vue instances provide a custom events system to solve this problem. To emit an event to the parent, we can call the built-in [**`$emit`** method](../api/#vm-emit), passing the name of the event:
327327

328328
```html
329329
<button v-on:click="$emit('enlarge-text')">

0 commit comments

Comments
 (0)