property | description |
button |
Number of pressed button, possible values are:
- 0 - main button pressed (usually the left button)
- 1 - auxiliary button pressed (usually the wheel button or the middle button)
- 2 - secondary button pressed (usually the right button)
- 3 - fourth button (usually the browser back button)
- 4 - fifth button (usually the browser forward button)
|
clientX |
Horizontal coordinate of cursor in clients coordinates. |
clientY |
Vertical coordinate of cursor in clients coordinates. |
screenX |
Horizontal coordinate of cursor in screen coordinates. |
screenY |
Vertical coordinate of cursor in screen coordinates. |
altKey |
Boolean value indicating whether the "ALT" key has been pressed. |
ctrlKey |
Boolean value indicating whether the "CTRL" key has been pressed. |
shiftKey |
Boolean value indicating whether the "Shift" key has been pressed. |
metaKey |
Boolean value indicating whether the "meta" key has been pressed. |