Licence
MIT
Version
1.0.2
Deps
1
Size
104 kB
Vulns
0
Weekly
0
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
