title | categories | image | ||
---|---|---|---|---|
Bulma |
|
none |
Add nav helpers for the Bulma CSS pagination component.
require 'pagy/extras/bulma'
<%== pagy_bulma_nav(@pagy, **vars) %>
<%== pagy_bulma_nav_js(@pagy, **vars) %>
<%== pagy_bulma_combo_nav_js(@pagy, **vars) %>
See Javascript if you use pagy_bulma_nav_js
or pagy_bulma_combo_nav_js
.
This extra adds 3 nav helpers to the Pagy::Frontend
module.
!!!info Overriding Helpers You can customize them by overriding in your own view helper(s). !!!
=== pagy_bulma_nav(pagy)
This method is the same as the pagy_nav
, but customized for Bulma.
See the pagy_nav(pagy, **vars) documentation.
=== pagy_bulma_nav_js(pagy, **vars)
It's rendered on the client, with optional responsiveness. See the Javascript Navs documentation for more information.
=== pagy_bulma_combo_nav_js(pagy, **vars)
See the Javascript Combo Navs documentation.
===