Windows Dev Center

EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

screenX property

Gets the x-coordinate of the mouse pointer, relative to the upper-left corner of the screen.

Document Object Model (DOM) Level 3 Events Specification, Section 5.2.3

 

Syntax

JavaScript

p = object.screenX

 

Property values

Type: Integer

The x-coordinate.

Standards information

See also

DragEvent
MouseEvent
MouseWheelEvent
WheelEvent
Reference
clientY
pageY
screenY
y

 

 

Afficher:
© 2015 Microsoft