clientX property

int get clientX

The clientX read-only property of the MouseEvent interface provides the horizontal coordinate within the application's at which the event occurred (as opposed to the coordinate within the page).

For example, clicking on the left edge of the viewport will always result in a mouse event with a clientX value of 0, regardless of whether the page is scrolled horizontally.

Implementation

external int get clientX;