Touch Events

Web Development

Updated Jun 25th, 2021

The tablets and mobile phones don’t have a mouse and so there’s no click events. There are touch events.

You have touch.start, touch.end, touch.cancel, and touch.move

There are not events for Swype swipe left swipe right swipe up swipe down rotate pitch zoom tap double tap. Those do not exist and if you want to use some of those you have to write your own scripts and you use these events above to create that.

What’s cool about touch is you can have multiple touch points (e.touches)