Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jacobbubu/touch-emulator

a wrapper of https://github.com/hammerjs/touchemulator for using with browserify
https://github.com/jacobbubu/touch-emulator

Last synced: 14 days ago
JSON representation

a wrapper of https://github.com/hammerjs/touchemulator for using with browserify

Awesome Lists containing this project

README

        

# touch-emulator

A wrapper of https://github.com/hammerjs/touchemulator for using with browserify.

# Example

```js
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.