Example $emit() Method

Ratings received from child component:

ChildComp.vue

Rate a product: