title: Clarity pagination - output from clr-dg-page-size
body: <p>I'm writing app in angular 8 with clarity.</p>
  
  <p>I use datagrid with pagination. I need fetch data after change items per page but there is not any output from clarity components. There is only output for changing pages.</p>
  
  <p>There is some html:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;clr-dg-footer&gt;
      &lt;clr-dg-pagination #pagination [clrDgPageSize]="itemsPerPage" [clrDgTotalItems]="totalElements" [clrDgLastPage]="totalPages"
      (clrDgPageChange)="onChangePage($event)"&gt;
        &lt;clr-dg-page-size [clrPageSizeOptions]="[5,20,50,100]" (change)="onItemsPerPageChange($event)"&gt;Samochodów na stronę&lt;/clr-dg-page-size&gt;
        {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}}
        z {{pagination.totalItems}} samochodów
      &lt;/clr-dg-pagination&gt;
    &lt;/clr-dg-footer&gt;
  </code></pre>
  
  <p>And there is how I'm doing it now:</p>
  
  <pre class="lang-js prettyprint-override"><code>onItemsPerPageChange(event) {
      let newValue = +event.target.value.slice(3);
      if(this.itemsPerPage !== newValue) {
        this.itemsPerPage = newValue;
        this.fetchCars();
      }
    }
  </code></pre>
  
  <p>It works but I know it's terrible way to do this.</p>
  
  <p>Do you know how to do it in correct way? I don't have any ideas.</p>