0.1.3 • Published 12 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 mousetailNPM
npm install mousetailAPI
Run Tests
npm testor
grunt watchLicense
MIT/X11