The which property in MouseEvent was removed in Dart 1.16? Why?

71 views
Skip to first unread message

Tom

unread,
Apr 27, 2016, 12:07:59 PM4/27/16
to Dart Misc
The removal of the which property from MouseEvent is on purpose or a bug?

The button and buttons properties are less consistent across different events. For example, in the click event, they are both zero, and in the mouse move event, the button property can't really tell if left-button is pressed. With the which property, it is easier to have a more generic event handler.

Regards,
Tom

Alan Knight

unread,
Apr 27, 2016, 2:01:23 PM4/27/16
to Dart Misc, te...@google.com
Hmm, I'm not sure. It still seems to be in the Chrome IDL and to exist in current Chrome. +Terry Lucas 
Can you file a bug?

--
For other discussions, see https://groups.google.com/a/dartlang.org/
 
For HOWTO questions, visit http://stackoverflow.com/tags/dart
 
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.

Günter Zöchbauer

unread,
Apr 28, 2016, 5:57:59 AM4/28/16
to Dart Misc, te...@google.com
Reply all
Reply to author
Forward
0 new messages