Pagy 43.0.0-pre.1
  • GitHub
  • Issues
  • Q&A
  • Discussions
Powered by

# Category: Methods

See all categories.

Methods • Helpers
data_hash

data_hash extracts a hash of key-value pairs that you pluck from the pagy object. It is useful for exporting pagination

Methods • Helpers
headers_hash

headers_hash generates the standard link header defined in the RFC-8288, and adds 4 customizable headers useful for pagination, that you can merge...

Methods • Helpers
urls_hash

urls_hash returns the :first, :previous, :next, :last non- nil URLs hash.

Methods • Helpers
page_url

page_url returns the URL of any page of any instance. If the page is not available it returns nil.

Methods • Navs • Tags
series_nav

series_nav

Methods • Navs • Tags
series_nav_js

series_nav_js functions similarly to a series_nav, with the following added features:

Methods • Navs • Tags
input_nav_js

input_nav_js

Methods • Tags
anchor_tags

The previous_tag and next_tag return the enabled/disabled previous/next page anchor tag.

Methods • Tags
limit_tag_js

The limit_tag_js allows the user to select any arbitrary limit per page, up to the :client_max_limit option. It raises an

Methods • Tags
info_tag

info_tag provides information about the content of the current pagination.

© 2017-2025 Domizio Demichelis - MIT License