demo/src/app/components/+pagination/demos/manual-switching/manual-switching.ts
import { Component } from '@angular/core';
@Component({
selector: 'demo-pagination-manual-switching',
templateUrl: './manual-switching.html'
})
export class DemoPaginationManualSwitchingComponent {
totalItems = 64;
currentPage = 4;
setPage(pageNo: number): void {
this.currentPage = pageNo;
}
}