Skip to content

fix: grammar and casing on video title #795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/guide/component-custom-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ As with [props casing](/guide/component-props.html#prop-casing-camelcase-vs-keba

## Defining Custom Events

<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>
<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>

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

Expand Down Expand Up @@ -81,7 +81,7 @@ app.component('my-component', {
},
emits: ['update:title'],
template: `
<input
<input
type="text"
:value="title"
@input="$emit('update:title', $event.target.value)">
Expand Down Expand Up @@ -114,7 +114,7 @@ app.component('user-name', {
},
emits: ['update:firstName', 'update:lastName'],
template: `
<input
<input
type="text"
:value="firstName"
@input="$emit('update:firstName', $event.target.value)">
Expand Down Expand Up @@ -153,7 +153,7 @@ app.component('my-component', {
},
emits: ['update:modelValue'],
template: `
<input type="text"
<input type="text"
:value="modelValue"
@input="$emit('update:modelValue', $event.target.value)">
`,
Expand Down Expand Up @@ -218,7 +218,7 @@ app.component('my-component', {
props: ['description', 'descriptionModifiers'],
emits: ['update:description'],
template: `
<input type="text"
<input type="text"
:value="description"
@input="$emit('update:description', $event.target.value)">
`,
Expand Down