code: function (e) {
          if (e && e.prevValue === e.newValue) {
              return;
          }
  
          var p           = this.paginator,
              currentPage = p.getCurrentPage();
  
          // Replace content if there's been a change
          if (this.current !== currentPage || !currentPage || e.rebuild) {
              var labelBuilder = p.get('pageLabelBuilder'),
                  range        = Paginator.ui.PageLinks.calculateRange(
                                  currentPage,
                                  p.getTotalPages(),
                                  p.get('pageLinks')),
                  start        = range[0],
                  end          = range[1],
                  content      = '',
                  linkTemplate,i;
  
              linkTemplate = '<a href="#" class="' + p.get('pageLinkClass') +
                             '" page="';
              for (i = start; i <= end; ++i) {
                  if (i === currentPage) {
                      content +=
                          '<span class="' + p.get('currentPageClass') + ' ' +
                                            p.get('pageLinkClass') + '">' +
                          labelBuilder(i,p) + '</span>';
                  } else {
                      content +=
                          linkTemplate + i + '">' + labelBuilder(i,p) + '</a>';
                  }
              }
  
              this.container.innerHTML = content;
          }
      }
docs: Update the links if appropriate
  @method update
  @param e {CustomEvent} The calling change event