quickclick

0.1.3 • Public • Published

quickclick

A simple heuristic to ensure quick click events on mobile browsers.

Quick Start

In a CommonJS environment, you can use it this way:

var QuickClick = require("quickclick");
 
// Pass in the root element where quick clicks are scoped.
QuickClick(document.body);

A global QuickClick is offered otherwise, and you can use it like this:

// Pass in the root element where quick clicks are scoped.
QuickClick(document.body);

Package Sidebar

Install

npm i quickclick

Weekly Downloads

5

Version

0.1.3

License

MIT

Last publish

Collaborators

  • sethyuan