threshold (event) {
      const 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}