Fermo.Pagination behaviour (Fermo v0.14.1) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %Fermo.Pagination{
  base: String.t(),
  first: String.t(),
  items: Array.t(),
  page: integer(),
  per_page: integer(),
  suffix: String.t(),
  total_items: integer()
}

Link to this section Functions

Link to this function

paginatable?(pagination)

View Source
Link to this function

paginate(config, template, options \\ %{}, context \\ %{}, fun \\ nil)

View Source
Link to this function

to_page(pagination, page)

View Source

Link to this section Callbacks

Link to this callback

paginate(map, arg2, map, map, function)

View Source

Specs

paginate(map(), String.t(), map(), map(), function()) :: map()