Skip to content
forked from aichi/Touchr

Mimics touch events in Internet Explorer 10+ browser and browsers supporting pointer events.

License

Notifications You must be signed in to change notification settings

romangit/Touchr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Touchr

The core idea of Touchr is that many mobile web sites are prepared for touchable devices but are incompatible with new Internet Explorer 10 and newer. This package automatically mimics touch and gesture events in these browsers. Intro page is available on http://aichi.github.com/Touchr.

Usage:

Load the Touchr before all other scripts are loaded and executed:

<script type="text/javascript" src="js/touchr.js"></script>

You can sniff IE and load this script for IE 10+ only if necessary.

Interaction:

Use touch handler as you are used to:

element.addEventListener("touchstart", function(e){console.log(e)});

Licence:

Touchr is distributed under terms of MIT licence.

About

Mimics touch events in Internet Explorer 10+ browser and browsers supporting pointer events.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.5%
  • HTML 23.5%