The paginate object is available from within the paginate tag.

Properties

collection - [Object] - An array of objects being paginated.

current_page - Integer - The current page being displayed.

current_offset - Integer - The number of items in the collection preceding the first item being displayed.

items - Integer - The total number of items in the collection.

page_size - Integer - The number of items shown on each page.

pages - Integer - The total number of pages.

previous_page - Integer - The page number of the previous page.

next_page - Integer - The page number of the next page.

previous - String - A url that will return to the previous page in the collection.

next - String - A url that will proceed to the next page in the collection

parts - [Part] - An array of parts.

Did this answer your question?