0.2.0 • Published 9 years ago

mallet v0.2.0

Weekly downloads
20
License
MIT
Repository
github
Last release
9 years ago

Mallet

A JavaScript library for managing touch and mouse interactions. It is basically Hammer.js modified to add basic support for IE8.

Installation

npm install mallet

Usage

var Mallet = require('mallet');

new Mallet(someDOMNode).on('tap', function () {
  console.log('That tickles!');
});

IE8 Support

For Mallet to work on IE8, make sure to include ES5 shim and sham.