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;
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea85fd-47ca3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea85fd-47ca3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?