dist/glide.esm.js
function threshold(event) {
      var settings = Glide.settings;

      if (MOUSE_EVENTS.indexOf(event.type) > -1) {
        return settings.dragThreshold;
      }

      return settings.swipeThreshold;
    }
function threshold(event) {
      var settings = Glide.settings;

      if (MOUSE_EVENTS.indexOf(event.type) > -1) {
        return settings.dragThreshold;
      }

      return settings.swipeThreshold;
    }
function threshold ( event ) { var settings = Glide . settings ; if ( MOUSE_EVENTS . indexOf ( event . type ) > - 1 ) { return settings . dragThreshold ; } return settings . swipeThreshold ; }
Gets value of minimum swipe distance settings based on event type.

@return {Number}
Gets value of minimum swipe distance settings based on event type .