Back to Developer Roadmap

v-on

src/data/roadmaps/vue/content/[email protected]

4.0370 B
Original Source

v-on

The v-on directive is placed on an element to attach an event listener. To attach an event listener with v-on we need to provide the event type, and any modifier, and a method or expression that should run when that event occurs.

Visit the following resources to learn more: