W3C home > Mailing lists > Public > public-pointer-events@w3.org > October to December 2017

Re: [pointerevents] "This API always returns at least one coalesced event for pointermove events and an empty list for other types of PointerEvents."

From: smaug---- via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 Nov 2017 19:55:27 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-341221312-1509566125-sysbot+gh@w3.org>
> This API always returns at least one coalesced event for dispatched pointermove events and an empty list for other types of PointerEvents.

I don't understand this.
window.addEventListener("pointermove", function(e) { console.log(e.getCoalescedEvents()); } ); window.dispatchEvent(new PointerEvent("pointermove"));
prints empty list in Chrome.

-- 
GitHub Notification of comment by smaug----
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/224#issuecomment-341221312 using your GitHub account
Received on Wednesday, 1 November 2017 19:55:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 1 November 2017 19:55:29 UTC