VUE/TS: Property 'offsetX' does not exist on type 'Event'. #10566
DevKame
started this conversation in
General Discussions
Replies: 1 comment
-
Well, the basic You expect a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I created some Cards that rotate around x and y axis depending on the mouse's position when hovering over it. Everything works as it should but my IDE throws me an error.
Template:
rotateCard():
The error:

What did i try:
let mouse_x = e.offsetX!;
what did i do wrong?
like i said its working as it should just the IDE is crying.
Beta Was this translation helpful? Give feedback.
All reactions