0

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.

1 Answers1

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