#
Category: Methods
See all categories.
data_hash plucks a hash of key-value pairs from the pagy object. It is useful for exporting pagination
headers_hash generates the standard link header defined in the RFC-8288, and adds 4 customizable headers useful for pagination, that you can merge...
urls_hash returns the :first, :previous, :next, :last non- nil URLs hash.
page_url returns the URL of any page of any instance. If the page is not available it returns nil.
series_nav
series_nav_js functions similarly to a series_nav, with the following added features:
input_nav_js
The previous_tag and next_tag return the enabled/disabled previous/next page anchor tag.
The limit_tag_js allows the user to select any arbitrary limit per page, up to the :client_max_limit option. It raises an
info_tag provides information about the content of the current pagination.