dist/glide.esm.js
function get() {
      var settings = Glide.settings;
      var length = Components.Html.slides.length;

      // If the `bound` option is acitve, a maximum running distance should be
      // reduced by `perView` and `focusAt` settings. Running distance
      // should end before creating an empty space after instance.

      if (Glide.isType('slider') && settings.focusAt !== 'center' && settings.bound) {
        return length - 1 - (toInt(settings.perView) - 1) + toInt(settings.focusAt);
      }

      return length - 1;
    }
function get() {
      var settings = Glide.settings;
      var length = Components.Html.slides.length;

      // If the `bound` option is acitve, a maximum running distance should be
      // reduced by `perView` and `focusAt` settings. Running distance
      // should end before creating an empty space after instance.

      if (Glide.isType('slider') && settings.focusAt !== 'center' && settings.bound) {
        return length - 1 - (toInt(settings.perView) - 1) + toInt(settings.focusAt);
      }

      return length - 1;
    }
function get ( ) { var settings = Glide . settings ; var length = Components . Html . slides . length ; // If the `bound` option is acitve, a maximum running distance should be // reduced by `perView` and `focusAt` settings. Running distance // should end before creating an empty space after instance. if ( Glide . isType ( 'slider' ) && settings . focusAt !== 'center' && settings . bound ) { return length - 1 - ( toInt ( settings . perView ) - 1 ) + toInt ( settings . focusAt ) ; } return length - 1 ; }
Gets value of the running distance based
on zero-indexing number of slides.

@return {Number}
Gets value of the running distance based on zero - indexing number of slides .