Create and Use Custom Events

Events are the most fundamental concept of any interactive app. We know how to listen to many events in Vue, for example the v-on: and @... attributes, where v-on:click="someMethod" and @click="someMethod" are used to listen to click events and execute a component’s method respectively.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy