The paginator constructor.
All the items passed to the paginator.
The internal current page. This is always at least 1.
The internal tacker for the items per page count.
Current page's items.
Boolean 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.
Enable array like behaviour.
The setter for the current page items.
Set thr paginator to the first page.
Get all the items passed to the paginator.
Get the items in a matrix where one array is one page.
Determine whether the paginator has the given item.
Determine whether the given item is on page based on deep equality.
Jump to the page where the item is based on deep equality.
Set the paginator to the last page.
Set the paginator to the next page.
Set the page to the given page number.
Get the page number where the item first occurs. If not found return -1
Remove and return the last element of the paginator.
Set paginator to the previous page.
Add one or more items to the end of the paginator. Returns the new length of the paginator.
The setter method for the itemsPerPage property.
Remove and return the first element of the paginator.
Add one or more items to the beginning of the paginator. Returns the new length of the paginator.
Generated using TypeDoc
Utility to paginate data.