Event Notes
Harbs edited this page Jan 7, 2020
·
1 revision
- PointerTypes in IE 10 require handling integer codes
- isMouseActionButton Need the following logic: left-click on windows/linux, and left-click without the ctrl key on Macs. Webkit does not ctrl+click to be a right-click, so we have to normalize it to behave like Gecko and Opera.
- goog has some code which deals with passive events https://blog.chromium.org/2016/05/new-apis-to-help-developers-improve.html https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
- There is an option for "listen once" for DOM events: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
Apache®, Apache Royale, Royale™, and the Royale logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.