dist/scripts/vendor.min.js
function shouldPaginate () {
    if (ctrl.noPagination || !loaded) return false;
    var canvasWidth = $element.prop('clientWidth');

    angular.forEach(getElements().tabs, function (tab) {
      canvasWidth -= tab.offsetWidth;
    });

    return canvasWidth < 0;
  }
function shouldPaginate () {
    if (ctrl.noPagination || !loaded) return false;
    var canvasWidth = $element.prop('clientWidth');

    angular.forEach(getElements().tabs, function (tab) {
      canvasWidth -= tab.offsetWidth;
    });

    return canvasWidth < 0;
  }
function shouldPaginate ( ) { if ( ctrl . noPagination || ! loaded ) return false ; var canvasWidth = $element . prop ( 'clientWidth' ) ; angular . forEach ( getElements ( ) . tabs , function ( tab ) { canvasWidth -= tab . offsetWidth ; } ) ; return canvasWidth < 0 ; }
Determines if pagination is necessary to display the tabs within the available space.
@returns {boolean}
Determines if pagination is necessary to display the tabs within the available space .