- From: stefnotch via GitHub <sysbot+gh@w3.org>
 - Date: Mon, 10 Jul 2023 20:20:34 +0000
 - To: public-pointer-events@w3.org
 
That's a good point. I suppose Mathlive's code usually ends up using the manual option for detecting double clicks.
Which means it's using Date.now() to detect double clicks
https://github.com/arnog/mathlive/blob/794c8778f4d7f94b51b0cf7c80fe4a325b679604/src/editor-mathfield/pointer-input.ts#L116-L132
Based on this comment, I'm assuming using a timer is the one option that should be discouraged.
> (eg. I worked with one developer trying to detect double-tap - I really didn't want them relying on their own timer).
> -- @[RByers](https://github.com/RByers)
Hence my question about the future `clickCount` property for pointer events.
P.S. Firefox seems to actually set the `event.detail` property for mousemove events.
```js
window.addEventListener("mousemove", (evt) => {
console.log(evt.detail)})
```

-- 
GitHub Notification of comment by stefnotch
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/98#issuecomment-1629675502 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 10 July 2023 20:20:35 UTC