Touch Events On A Desktop Browser

Sometimes you would want unify the events in your app and react to only kind of event hierarchy (either touch or mouse events), in such a case you will find yourself in a pickle when you realize that desktop browsers don’t support convenient touch events unlike mobile browsers. So what do you do then? The answer is an extremely small JS library called Touché. Drop this library into your web app and you are good to go. See the github page for more details on how to use it. If you have mobile centric javascript extensions that were intended to work with touch events, they will now work with desktop browsers as well when you use this library.

The page also has a live demo.