#

In 

# @pagy.✳ Helpers


The @pagy instance provides all the helpers to use in your code.

Its class is determined by the paginator used, but you can safely ignore it. Simply utilize its methods.

data_hash
headers_hash
urls_hash
page_url
series_nav
series_nav_js
input_nav_js
anchor_tags
info_tag
limit_tag_js

  • :pagy/nil style (default style)
  • :bootstrap
    • Set classes: 'pagination pagination-sm any-class' style option to override the default 'pagination' class.
  • :bulma
    • Set classes: 'pagination is-small any-class' style option to override the default 'pagination' classes.
  • id: 'my-nav':

    • Set the id HTML attribute of the nav tag.
  • aria_label: 'My Label':

    • Override the default pagy.aria_label.nav string of the aria-label attribute. (Use an already pluralized string).

    Refer to ARIA for additional information.