angular-typescript-mat-pagination

1.0.3 • Public • Published

Material pagination

<material-pagination [showPrevNext]="true" (onChange)="getOtherPageData(pageNumber)" [itemsPerPage]="10" [totalItems]="5000" [range]="5">

Click on a page number or the arrows will trigger the function getOtherPageData and pass the page number which was clicked on the pagination bar so appropriate API call can be made based on the same to get the data and show the same in the view.

alt tag

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i angular-typescript-mat-pagination

      Weekly Downloads

      0

      Version

      1.0.3

      License

      ISC

      Last publish

      Collaborators

      • hearsid