0 votes
in VueJS by

What are the supported Mouse Button Modifiers?

1 Answer

0 votes
by

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"
 />

Related questions

0 votes
asked Oct 21, 2019 in VueJS by Tate
0 votes
asked Oct 21, 2019 in VueJS by Tate
...