I am using ngx- pagination in my angular 6 application, all well till it comes to number of page numbers visible at a time, I have set my HTML template code as below. but as per attached image it shows 1 .. 10 I dont want such kind of display, I want 1,2,3 at a time and when I click on next to the pager display should be 2,3,4 and so on. can any one please provide me help on this.
<pagination-controls (pageChange)= "ChanggPage($event)" maxSize="3" >
</pagination-controls>If you require a more customised set of controls, you will need to use the PaginationControlsDirective and implement your own component.