Skip to main content
Version: v25

MouseEventParams

Interface

Properties

clientX

X (horizontal) coordinate (in pixels) at which the mouse event occurred, relative to the left edge of the applications viewport.

Type

number


clientY

Y (vertical) coordinate (in pixels) at which the mouse event occurred, relative to the left edge of the applications viewport.

Type

number


pageX

X (horizontal) coordinate (in pixels) at which the mouse event occurred, relative to the left edge of the entire document.

Type

number


pageY

Y (vertical) coordinate (in pixels) at which the mouse event occurred, relative to the left edge of the entire document.

Type

number


screenX

X (horizontal) coordinate (in pixels) at which the mouse event occurred, in global screen coordinates.

Type

number


screenY

Y (vertical) coordinate (in pixels) at which the mouse event occurred, in global screen coordinates.

Type

number