touch-emulator

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i touch-emulator

Weekly Downloads

24

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jacobbubu