Ticket #3740 (new enhancement)
Add mouse button constants
| Reported by: | guest | Owned by: | sjmiles |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Events | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: | jayant.b.sai@… |
Description (last modified by bill) (diff)
Dojo provides constants for the keyboard keys; dojo.keys. Similarly I recommend adding constants for 'mouse buttons' also, or they can be rolled into dojo.keys.
dojo.mouseButtons = {
LEFT: dojo.isIE ? 1 : 0, MIDDLE: dojo.isIE ? 4 : 1, RIGHT: 2
}
Change History
Note: See
TracTickets for help on using
tickets.