whole_func_string: 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;
    }
func_code_string: 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;
    }
func_documentation_string: Determines if pagination is necessary to display the tabs within the available space.
  @returns {boolean}