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.
npm install @odopod/odo-tap --save
import OdoTap from '@odopod/odo-tap';
const tapId = OdoTap.addListener(document.getElementById('thing-to-tap'), function () {
console.log('tapped');
});
Visit the Odo component directory for demos, code examples, and documentation.