indigo
indigo copied to clipboard
Add Touch events
This may be slightly more involved than I'd anticipated.
MDN Reference: https://developer.mozilla.org/en-US/docs/Web/API/Touch_events#Specifications
Spec: https://www.w3.org/TR/touch-events/#touch-interface
What about pointer events? MDN doc: https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events This is a slightly newer API that covers more input methods and unifies mouse and touch events.
Thanks for the tip! I'm generally quite behind the times on the latest browser developments, always good to get some steer. 😄
Also compatibility looks to be fine: https://caniuse.com/pointer
Closing this as it will be superseded by @grzegorz-bielski excellent work adding pointer support.