code: function (input) {
              var srcEvent = input.srcEvent;
              var direction = input.offsetDirection;
  
              // if the touch action did prevented once this session
              if (this.manager.session.prevented) {
                  srcEvent.preventDefault();
                  return;
              }
  
              var actions = this.actions;
              var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE];
              var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y];
              var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X];
  
              if (hasNone) {
                  //do not prevent defaults if this is a tap gesture
  
                  var isTapPointer = input.pointers.length === 1;
                  var isTapMovement = input.distance < 2;
                  var isTapTouchTime = input.deltaTime < 250;
  
                  if (isTapPointer && isTapMovement && isTapTouchTime) {
                      return;
                  }
              }
  
              if (hasPanX && hasPanY) {
                  // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent
                  return;
              }
  
              if (hasNone || hasPanY && direction & DIRECTION_HORIZONTAL || hasPanX && direction & DIRECTION_VERTICAL) {
                  return this.preventSrc(srcEvent);
              }
          }
docs: this method is called on each input cycle and provides the preventing of the browser behavior
  @param {Object} input