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. 
            Asked
            
        
        
            Active
            
        
            Viewed 1.4k times
        
    16
            
            
         
    
    
        Brian Tompsett - 汤莱恩
        
- 5,753
- 72
- 57
- 129
 
    
    
        Sandeep Ghimire
        
- 169
- 1
- 1
- 3
- 
                    I don't know about $v, but have you read https://vuejs.org/v2/guide/events.html ? – laruiss Jan 15 '18 at 12:33
2 Answers
26
            
            
        $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://v2.vuejs.org/v2/guide/events.html
 
    
    
        tony19
        
- 125,647
- 18
- 229
- 307
 
    
    
        Ndianabasi
        
- 508
- 4
- 12
4
            
            
        $v is an object that calls vuelidate (at the time of writing the comment, supported in version Vue.js 2.0), which is intended to check every input, which is made in a non-html form.
Official: https://vuelidate.js.org/
Github: https://github.com/vuelidate/vuelidate
Custom vue js validation: https://v2.vuejs.org/v2/cookbook/form-validation.html
 
    
    
        tony19
        
- 125,647
- 18
- 229
- 307
 
    
    
        Daniel G.Kostyushko
        
- 41
- 3