Opened 15 years ago

Last modified 11 years ago

#3740 closed enhancement

Add mouse button constants — at Initial Version

Reported by: guest Owned by: anonymous
Priority: high Milestone: 1.4
Component: Events Version: 0.9
Keywords: Cc: [email protected]
Blocked By: Blocking:

Description

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 (0)

Note: See TracTickets for help on using tickets.