Defined by: dojo/mouse
Numeric value of the left mouse button for the platform.
Defined by: dojo/mouse
Numeric value of the middle mouse button for the platform.
Defined by: dojo/mouse
Numeric value of the right mouse button for the platform.
isButton(e,button) Defined by dojo/mouse
Checks an event object for a pressed button
| Parameter | Type | Description |
|---|---|---|
| e | Event |
Event object to examine |
| button | Number |
The button value (example: dojo.mouseButton.LEFT) |
Returns: boolean
isLeft(e) Defined by dojo/mouse
Checks an event object for the pressed left button
| Parameter | Type | Description |
|---|---|---|
| e | Event |
Event object to examine |
Returns: boolean
isMiddle(e) Defined by dojo/mouse
Checks an event object for the pressed middle button
| Parameter | Type | Description |
|---|---|---|
| e | Event |
Event object to examine |
Returns: boolean
isRight(e) Defined by dojo/mouse
Checks an event object for the pressed right button
| Parameter | Type | Description |
|---|---|---|
| e | Event |
Event object to examine |
Returns: boolean
© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/_base/kernel.mouseButtons.html