How to get mouse coordinates in VueJS

Viewed 30196

I have a component triggered with v-on:click="someMethod".

How would I get the mouse coordinates (X, Y) of this click?

Additional information: HTML5 Canvas component

2 Answers
Related