Last active
November 2, 2020 09:35
-
-
Save jlaine/77a077ad680c0911bdd138623b1cd74a to your computer and use it in GitHub Desktop.
Angular pagination - page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class Page<T> { | |
count: number; // total number of items | |
next: string; // URL of the next page | |
previous: string; // URL of the previous page | |
results: Array<T>; // items for the current page | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment