Tom
2016-04-27 09:43:54 UTC
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
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
--
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+***@dartlang.org.
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+***@dartlang.org.