You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2020/01/07 09:01:19 UTC
[royale-asjs.wiki] branch master updated: event notes
This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new 7c68906 event notes
7c68906 is described below
commit 7c68906d58aaf107039e6a7f4f6793e1975489da
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Jan 7 11:00:51 2020 +0200
event notes
---
Event-Notes.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Event-Notes.md b/Event-Notes.md
new file mode 100644
index 0000000..3b226af
--- /dev/null
+++ b/Event-Notes.md
@@ -0,0 +1,6 @@
+## Optional Event Handling Info (from goog.events)
+
+- PointerTypes in IE 10 [require handling integer codes](https://msdn.microsoft.com/en-us/library/hh772359(v=vs.85).aspx)
+- 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
\ No newline at end of file