© 2017-2022 Domizio DemichelisMIT License

➡ Chat Support on Gitter ➡

Semantic UI Extra

This extra adds 3 nav helpers for Semantic UI CSS pagination component.


See extras for general usage info.

In the pagy.rb initializer:

require 'pagy/extras/semantic'

Render the navigation links in some view… with a fast helper:

<%== pagy_semantic_nav(@pagy, ...) %>
<%== pagy_semantic_nav_js(@pagy, ...) %>
<%== pagy_semantic_combo_nav_js(@pagy, ...) %>



This extra adds 3 nav helpers to the Pagy::Frontend module. You can customize them by direct overriding in your own view helper.


This method is the same as the pagy_nav, but customized for Semantic UI.

See the pagy_nav(pagy, …) documentation.

pagy_semantic_nav_js(pagy, …)

See the Javascript Navs documentation.

pagy_semantic_combo_nav_js(pagy, …)

See the Javascript Combo Navs documentation.