code: function (e) {
          if (e && e.prevValue === e.newValue) {
              return;
          }
  
          this.span.innerHTML = Paginator.ui.CurrentPageReport.sprintf(
              this.paginator.get('pageReportTemplate'),
              this.paginator.get('pageReportValueGenerator')(this.paginator));
      }
docs: Regenerate the content of the span if appropriate. Calls
  CurrentPageReport.sprintf with the value of the pageReportTemplate
  attribute and the value map returned from pageReportValueGenerator
  function.
  @method update
  @param e {CustomEvent} The calling change event