'How to code Mouse events to Touch Events for mobile using div class?
basically I want the mouseevents to work on mobile through the use of touchevents.
On this :
https://codepen.io/benstl/pen/LYQjKvN
I'm really lost there... I think i need to put each document.addEventListener("touchstart" /"touchmove"/"touchend")
document.addEventListener('mouseup', grabOff);
But how deal with the console.log ?
Thank you for your help, i really appreciate, all the best
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
