scrivener v2.5.0 Scrivener.Page

A Scrivener.Page has 5 fields that can be accessed: entries, page_number, page_size, total_entries and total_pages.

page = MyApp.Module.paginate(params)

page.entries
page.page_number
page.page_size
page.total_entries
page.total_pages

Link to this section Summary

Link to this section Types

Link to this type t()
t() :: %Scrivener.Page{entries: term(), page_number: term(), page_size: term(), total_entries: term(), total_pages: term()}