google-code-export / gwt-dnd

Automatically exported from code.google.com/p/gwt-dnd
0 stars 0 forks source link

Improvement: Add modifier key support. #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to be able to take action based on if alt/shift/ctrl were held 
at the time of drag start and drag end.

Since events are no longer valid after they have been handled add the following 
members to the context object:

From the drag start mouse event:
startShiftDown
startAltDown
startMetaDown
startCtrlDown

From the drag end mouseup event:
endShiftDown
endAltDown
endMetaDown
endCtrlDown

Original issue reported on code.google.com by talmage....@gmail.com on 14 Jan 2011 at 7:30

GoogleCodeExporter commented 9 years ago
Patches welcome

Original comment by fredsa on 31 Jan 2012 at 6:31