Skip to content

hearsid/angular-typescript-mat-pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Angular2+ material pagination bar in typescript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published