stdweb
stdweb copied to clipboard
How to get mouse position from a MouseDownEvent?
You'd use client_x and client_y. They're on the IMouseEvent trait, so that way they work on all of the mouse-related events.