Constructors
constructor
- new Paginator<T>(allItems: T[], itemsPerPage?: number): Paginator<T>
-
Type parameters
Parameters
-
allItems: T[]
-
itemsPerPage: number = ...
Properties
Private actList
actList: T[]
Private actualPage
actualPage: number = 0
Private Readonly lastPage
lastPage: number
Methods
getPagesAround
- getPagesAround(): number[]