How do you communicate from child to parent using events?

Posted by Jennifer | Updated on

How do you communicate from child to parent using events?

If you want child wants to communicate back up to the parent, then emit an event from child using $emit object to parent:

Now you can use this todo-item in parent component to access the count value.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers