paginator/src/paginator/paginator.types.ts
Determines the different attributes of the paginator state.
import { PaginatorState } from '@talenra/components/paginator';
Properties |
| currentPage |
currentPage:
|
Type : number
|
|
The current page number. |
| itemsPerPage |
itemsPerPage:
|
Type : number
|
|
The number of items per page, that are to be displayed. |
| itemsPerPageOptions |
itemsPerPageOptions:
|
Type : number[]
|
| Optional |
|
The possible options for the items per page selection. Used to override the default options. |
| totalItems |
totalItems:
|
Type : number
|
|
The total number of items. Used to calculate the last page number. |