touch-emulator
v1.0.0
Published
A wrapper of https://github.com/hammerjs/touchemulator for using with browserify
Downloads
218
Maintainers
Readme
touch-emulator
A wrapper of https://github.com/hammerjs/touchemulator for using with browserify.
Example
require('touch-emulator')();
Then a touch events polyfills will be mounted automatically.
Please see the demo/demo.js
for further usage.
Play with beefy
Clone to your computer.
git clone https://github.com/jacobbubu/touch-emulator.git touch-emulator
cd touch-emulator
npm install
And then run the demo.js
using:
npm start
Open up localhost:9966
in your browser.