Results 21 - 31 of 31

MouseEvent.screenY

The MouseEvent.screenY read-only property provides the vertical coordinate of the mouse pointer in global (screen) coordinates.
API DOM Events MouseEvent Property Read-only Reference Référence

MouseEvent.shiftKey

The MouseEvent.shiftKey read-only property indicates if the shift key was pressed (true) or not (false) when the event occurred.
API DOM DOM Events MouseEvent Property Read-only Reference Référence

MouseEvent.clientX

The MouseEvent.clientX read-only property provides the horizontal coordinate within the application's client area at which the event occurred (as opposed to the coordinates within the page). For example, clicking in the top-left corner of the client area will always result in a mouse event with a clientX value of 0, regardless of whether the page is scrolled horizontally.
API CSSOM View DOM DOM Events MouseEvent Property Read-only Reference Référence

MouseEvent.clientY

The MouseEvent.clientY read-only property returns the vertical coordinate within the application's client area at which the event occurred (as opposed to the coordinates within the page). For example, clicking in the top-left corner of the client area will always result in a mouse event with a clientY value of 0, regardless of whether the page is scrolled vertically.
API CSSOM View DOM Events MouseEvent Property Read-only Reference Référence

MouseEvent.movementX

The MouseEvent.movementX read-only property provides the shift in the X coordinate of the mouse pointer between that event and the previous mousemove event. In other words, the value of that property is computed that way : currentEvent.movementX = currentEvent.screenX - previousEvent.screenX.
API DOM DOM Events mouse lock MovementX pointer lock Property Read-only Reference

MouseEvent.movementY

The MouseEvent.movementY read-only property provides the shift in the Y coordinate of the mouse pointer between that event and the previous mousemove event. In other words, the value of that property is computed that way : currentEvent.movementY = currentEvent.screenY - previousEvent.screenY.
API DOM DOM Events mouse lock MouseEvent MovementY pointer lock Property Read-only Reference

MouseEvent.screenX

The MouseEvent.screenX read-only property provides the horizontal coordinate of the mouse pointer in global (screen) coordinates.
API CSSOM View DOM Events MouseEvent Property Read-only Reference Référence