'Angular material mat-paginator paginate

how to implement a pager in angular material consuming an api knowing that its default offset is 0 that returns 100 data by default and its total data is 2500. your interface hurts me: number: 100, offset: 0, results: [ ], totalResults: 2500



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source