code: function (e) {
          if (!this.all || (e && e.prevValue === e.newValue)) {
              return;
          }
  
          this.all.value = e.newValue;
          if (this.all.selected) {
              this.paginator.set('rowsPerPage',e.newValue);
          }
      }
docs: Updates the all option value (and Paginator's rowsPerPage attribute if
  necessary) in response to a change in the Paginator's totalRecords.
  
  @method _handleTotalRecordsChange
  @param e {Event} attribute change event
  @protected