1.0.3 • Published 7 years ago
angular-typescript-mat-pagination v1.0.3
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.