Class: Paginator

Paginator

Pagination helper class.

Properties:
Name Type Description
items Array Array of elements on current page.
hasNextPage Boolean Indicates the existence of next page.
hasPrevPage Boolean Indicates the existence of previous page.

Methods


<async> nextPage()

Request next page. Does not modify existing object.
Returns:
Type
Promise.<Paginator>

<async> prevPage()

Request previous page. Does not modify existing object.
Returns:
Type
Promise.<Paginator>