The video for this lesson is currently being updated, please read the transcript instead.

Vue essentials - Custom events

We're now familiar with using props as a mechanism for passing data from a parent to a child. And we know that props are specifically designed to be a one-way channel to ensure that the app state is predictable.

But what if we need to send data in the opposite direction, from child to parent? The mechanism that Vue provides for this is custom events, which will be the subject of this lesson.

Events

To view the complete lesson you'll need to login or join this course.


Click to load comments...