View Source Exzeitable.HTML.Pagination (Exzeitable v0.5.3)
For building out the pagination buttons above and below the table
Link to this section Summary
Functions
Builds the pagination selector with page numbers, next and back etc.
Selects the page buttons we need for pagination
A partial page is still a page.
Link to this section Types
@type name() :: :next | :previous | :dots | pos_integer()
@type params() :: %{ :page => pos_integer(), :count => non_neg_integer(), :per_page => pos_integer(), optional(atom()) => any() }
Link to this section Functions
Builds the pagination selector with page numbers, next and back etc.
Selects the page buttons we need for pagination
@spec page_count(params()) :: pos_integer()
A partial page is still a page.