code: function detect(eventData) {
        if(!this.current || this.stopped) {
          return;
        }
  
        // extend event data with calculations about scale, distance etc
        eventData = this.extendEventData(eventData);
  
        // instance options
        var inst_options = this.current.inst.options;
  
        // call ionic.Gestures.gesture handlers
        for(var g=0,len=this.gestures.length; g<len; g++) {
          var gesture = this.gestures[g];
  
          // only when the instance options have enabled this gesture
          if(!this.stopped && inst_options[gesture.name] !== false) {
            // if a handler returns false, we stop with the detection
            if(gesture.handler.call(gesture, eventData, this.current.inst) === false) {
              this.stopDetect();
              break;
            }
          }
        }
  
        // store as previous event event
        if(this.current) {
          this.current.lastEvent = eventData;
        }
  
        // endevent, but not the last touch, so dont stop
        if(eventData.eventType == ionic.Gestures.EVENT_END && !eventData.touches.length-1) {
          this.stopDetect();
        }
  
        return eventData;
      }
docs: ionic.Gestures.gesture detection
  @param   {Object}    eventData