Categories

Oct 21, 2019 in Vue.JS

Q:

What are the supported Mouse Button Modifiers?

1 Answer

Oct 21, 2019

Vue supports below mouse button modifiers

  1. .left
  2. .right
  3. .middle

For example, the usage of .right modifier as below

 <button
   v-if="button === 'right'"
   v-on:mousedown.right="increment"
   v-on:mousedown.left="decrement"
 />
Click here to read more about Vue JS
Click here to read more about Insurance

Related questions

Madanswer
Oct 21, 2019 in Vue.JS
Oct 21, 2019 in Vue.JS
Oct 21, 2019 in Vue.JS
...