Smart Touch
Smart Touch is an easy to use Javascript- Touch- Libary.
Note: You could use it without jQuery.
Install
cd <your_project_root_folder>
npm install smart-touch --save
Examples
Use this code before every example
Add to your HTML:
<!-- only for test cases! -->
// will add touch globaly to window.touch// require('smart-touch'); //if you use browserify var { console;}
Move two fingers from right edge (like Mac OS > show Notifications)
touchfingersfromright;
Move three fingers to Top (like Mac OS show Mission Control)
touchfingersmove;
Move one or more fingers from left edge (like windows switch Apps)
touchfingersfromleft;
Pinch in with four Fingers (like Mac OS > show Launchpad)
touchfingerspinch;