The paginator constructor.
Optional
elements: MaybeArray<T>Protected
Readonly
elementsAll the items passed to the paginator.
Protected
internalThe internal current page. This is always at least 1.
Protected
internalThe internal tacker for the items per page count.
Current page's items.
Readonly
wrapsBoolean indicating whether the paginator should repeat or not.
The internal current page.
Determine whether the paginator has a next page.
Determine whether the paginator has a previous page.
Number of items to return per page.
Get the length of all the items within the paginator.
Get the number of pages available.
Private
_setPrivate
pageGenerated using TypeDoc
Utility to paginate data.