Kerosene v0.6.0 Kerosene.Paginator

Helpers to render the pagination links and more.

Summary

Functions

build_options(opts)
build_params(params, params2)
build_query(params)

Constructs a query param from a keyword list

build_url(conn, params)
first_page(list, page, window, arg4)
label_text(label, opts)
last_page(list, page, total, window, arg5)
left(page, window)
next_page(list, page, total)
normalize_keys(params)
page_list(list, page, total, window)

Generates a page list based on current window

previous_page(page)
right(page, window, total)