Skip to content

Commit 5b9060a

Browse files
authored
fix: grammar and casing on video title (#795)
1 parent fe87afe commit 5b9060a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/guide/component-custom-events.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ As with [props casing](/guide/component-props.html#prop-casing-camelcase-vs-keba
1818

1919
## Defining Custom Events
2020

21-
<VideoLesson href="https://vueschool.io/lessons/defining-custom-events-emits?friend=vuejs" title="Learn how to define which events a component can emit with Vue School">Watch a free video about Defining Custom Events on Vue School</VideoLesson>
21+
<VideoLesson href="https://vueschool.io/lessons/defining-custom-events-emits?friend=vuejs" title="Learn how to define which events a component can emit with Vue School">Watch a free video on how to define custom events on Vue School</VideoLesson>
2222

2323
Emitted events can be defined on the component via the `emits` option.
2424

@@ -81,7 +81,7 @@ app.component('my-component', {
8181
},
8282
emits: ['update:title'],
8383
template: `
84-
<input
84+
<input
8585
type="text"
8686
:value="title"
8787
@input="$emit('update:title', $event.target.value)">
@@ -114,7 +114,7 @@ app.component('user-name', {
114114
},
115115
emits: ['update:firstName', 'update:lastName'],
116116
template: `
117-
<input
117+
<input
118118
type="text"
119119
:value="firstName"
120120
@input="$emit('update:firstName', $event.target.value)">
@@ -153,7 +153,7 @@ app.component('my-component', {
153153
},
154154
emits: ['update:modelValue'],
155155
template: `
156-
<input type="text"
156+
<input type="text"
157157
:value="modelValue"
158158
@input="$emit('update:modelValue', $event.target.value)">
159159
`,
@@ -218,7 +218,7 @@ app.component('my-component', {
218218
props: ['description', 'descriptionModifiers'],
219219
emits: ['update:description'],
220220
template: `
221-
<input type="text"
221+
<input type="text"
222222
:value="description"
223223
@input="$emit('update:description', $event.target.value)">
224224
`,

0 commit comments

Comments
 (0)