When to use touchmove vs mousemove?

For parity between desktop and touch you have the following equivalences:

mousedown === touchstart
mousemove === touchmove
mouseup === touchend

Thus if you handle mousedown, mousemove and mouseup then you don’t need to handle the corresponding equivalent events under touch. The same handlers should be executing.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)