Vuejs . What do $v And $event denotes in Vuejs?

Sandeep Ghimire picture Sandeep Ghimire · Jan 15, 2018 · Viewed 7.9k times · Source

What do $v and $event denote in Vue.Js? What and in which situations do we use these. Please elaborate in detail with examples too.

Answer

Ndianabasi picture Ndianabasi · Oct 7, 2018

$v refers to Vuelidate's special object used for storing validation states. Read more here: https://github.com/vuelidate/vuelidate

If you have $v in your HTML codes, definitely, the code makes use of Vuelidate for form validations.

$event is a special object used to store and retrieve events by Vue.js. Read more here: https://vuejs.org/v2/guide/events.html