mirror of
https://github.com/farcasclaudiu/LanBackup.git
synced 2026-06-28 11:00:57 +03:00
25 lines
759 B
TypeScript
25 lines
759 B
TypeScript
export interface PaginationInstance {
|
|
/**
|
|
* An optional ID for the pagination instance. Only useful if you wish to
|
|
* have more than once instance at a time in a given component.
|
|
*/
|
|
id?: string;
|
|
/**
|
|
* The number of items per paginated page.
|
|
*/
|
|
itemsPerPage: number;
|
|
/**
|
|
* The current (active) page.
|
|
*/
|
|
currentPage: number;
|
|
/**
|
|
* The total number of items in the collection. Only useful when
|
|
* doing server-side paging, where the collection size is limited
|
|
* to a single page returned by the server API.
|
|
*
|
|
* For in-memory paging, this property should not be set, as it
|
|
* will be automatically set to the value of collection.length.
|
|
*/
|
|
totalItems?: number;
|
|
}
|