@odopod/odo-tap

1.1.2 • Public • Published

Odo Tap

A service to interpret taps on elements. Useful for delegated clicks on the document or body because iOS is buggy with delegated clicks on "non-clickable" elements.

Install

npm install @odopod/odo-tap --save

Quick Start

import OdoTap from '@odopod/odo-tap';

const tapId = OdoTap.addListener(document.getElementById('thing-to-tap'), function () {
  console.log('tapped');
});

Documentation

Visit the Odo component directory for demos, code examples, and documentation.

Package Sidebar

Install

npm i @odopod/odo-tap

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

42.4 kB

Total Files

17

Last publish

Collaborators

  • nathanbuchar
  • odopod-admin
  • vestride