mallet

0.2.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i mallet

Weekly Downloads

20

Version

0.2.0

License

MIT

Last publish

Collaborators

  • iclanzan