0.1.3 • Published 10 years ago
mousetail v0.1.3
______ ___
___ |/ /_________ _____________
__ /|_/ /_ __ \ / / /_ ___/ _ \
_ / / / / /_/ / /_/ /_(__ )/ __/
/_/ /_/ \____/\__,_/ /____/ \___/
________ ___________
___ __/_____ ___(_)__ /
__ / _ __ `/_ /__ /
_ / / /_/ /_ / _ /
/_/ \__,_/ /_/ /_/
WTF is it?
It's small library for tracking mouse movements. Creating a tail will let you track mouse movements on mouse down, but you can also leverage the tracking API directly.
Example
var mt = MouseTail.create(htmlElement);
mt.on('update', function(data) {
// do something with data
});
Getting Started
Bower
bower install mousetail
NPM
npm install mousetail
API
Run Tests
npm test
or
grunt watch
License
MIT/X11