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


nextPage()

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

prevPage()

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