Results 1 - 20 of 20

MouseEvent()

The MouseEvent() constructor creates a new MouseEvent.
API Constructor DOM MouseEvent Reference Référence

KeyboardEvent.metaKey

The KeyboardEvent.metaKey read-only property returning a Boolean that indicates if the Meta key was pressed (true) or not (false) when the event occurred.  Some operating systems may intercept the key so it is never detected.
API DOM MouseEvent NeedsBrowserCompatibility Property Read-only Reference Référence

MouseEvent.altKey

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

MouseEvent.button

The MouseEvent.button read-only property indicates which button was pressed on the mouse to trigger the event.
API DOM DOM Events MouseEvent Property Read-only Reference Référence

MouseEvent.ctrlKey

The MouseEvent.ctrlKey read-only property returns a Boolean that indicates if the control key was pressed (true) or not (false) when the event occured.
API DOM DOM Events MouseEvent Property Read-only Reference Référence

MouseEvent.getModifierState()

The MouseEvent.getModifierState() method returns the current state of the specified modifier key: true if the modifier is active (i.e., the modifier key is pressed or locked), otherwise, false.
API DOM DOM Events getModifierState Method MouseEvent Reference

MouseEvent.region

The MouseEvent.region read-only property returns the id of the canvas hit region affected by the event. If no hit region is affected, null is returned.
API Canvas DOM Events MouseEvent Property Read-only Reference Référence

MouseEvent.relatedTarget

The MouseEvent.relatedTarget read-only property is the secondary target for the event, if there is one. That is:
API DOM DOM Events MouseEvent Property Read-only Reference Référence

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.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