• +91 9723535972
  • info@interviewmaterial.com

Vue JS Interview Questions and Answers

Question - What are the different supported Mouse Button Modifiers in Vue.js?

Answer -

Vue.js supports the following mouse button modifiers:

  • .left
  • .right
  • .middle
Example:

The usage of .right modifier as follows:

  v-if="button === 'right'"  
  v-on:mousedown.right="increment"  
  v-on:mousedown.left="decrement"  
/>  

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners