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) |
Checks an event object for the pressed left button
Parameter | Type | Description |
---|---|---|
e | Event | Event object to examine |
Checks an event object for the pressed middle button
Parameter | Type | Description |
---|---|---|
e | Event | Event object to examine |
Checks an event object for the pressed right button
Parameter | Type | Description |
---|---|---|
e | Event | Event object to examine |