When using the paging component of ngx-bootstrap in angular5, how do you click to jump and load data?

when I developed using angular5, I used ngx-bootstrap "s paging component, as shown in the following figure, but the component is only static. I want to jump and load the data obtained from the background to the page by clicking. Since the paging component is provided, it should be able to achieve a complete paging display function. I wonder if there is a way to expand the component outward? Ask for a solution!

clipboard.png

clipboard.png

Mar.12,2021

take a closer look at the document. This component provides a pageChanged method to listen for changes to the page. The example is as follows:

<pagination [totalItems]="66" [(ngModel)]="currentPage" (pageChanged)="pageChanged($event)"></pagination>

pageChanged(event: any): void {
  this.page = event.page;
}
Menu