I want to create a tooltip, but it overflows if the event located on the right side, so i need to detect an event position somehow.
Asked
Active
Viewed 123 times
1 Answers
0
Inside the event object you can find different properties like screenX
, screenY
, pageX
, pageY
, clientX
and clientY
etc which can give you mouse position relative to screen, page and client.

Aditya
- 771
- 5
- 11