user-input-touch
v1.0.2
Published
User input tracking for the touch.
Downloads
4
Readme
user-input-touch
Touch input state tracking, used by the user-input
package.
Useful for game-loop style applications.
Usage
var touch = window.touchInput(document)
touch.touches // Array of last touches.
touch.changedTouches // Array of last changed touches.
Tests
- Mocha
- Test functionality in Node.js
npm test
- User Test
- Test functionality in browser.
npm user-test