packages/odo-tap/dist/odo-tap.js
function Tap(element, fn, preventEventDefault) {
      classCallCheck(this, Tap);

      this.element = element;
      this.fn = fn;
      this.preventEventDefault = preventEventDefault;
      this.pointer = new OdoPointer(element, {
        preventEventDefault: preventEventDefault
      });

      this._listen();
    }
function Tap(element, fn, preventEventDefault) {
      classCallCheck(this, Tap);

      this.element = element;
      this.fn = fn;
      this.preventEventDefault = preventEventDefault;
      this.pointer = new OdoPointer(element, {
        preventEventDefault: preventEventDefault
      });

      this._listen();
    }
function Tap ( element , fn , preventEventDefault ) { classCallCheck ( this , Tap ) ; this . element = element ; this . fn = fn ; this . preventEventDefault = preventEventDefault ; this . pointer = new OdoPointer ( element , { preventEventDefault : preventEventDefault } ) ; this . _listen ( ) ; }
Interprets touchs on an element as taps.
@param {Element} element Element to watch.
@param {Function} fn Callback function when the element is tapped.
@param {boolean} preventEventDefault Whether or not to prevent the default
event during drags.
@constructor
Interprets touchs on an element as taps .