# Bootstrap Extra

In 

Add nav helpers for the Bootstrap pagination component.

Try it now!

# Synopsis

pagy.rb (initializer)
require 'pagy/extras/bootstrap'
View (helper)
<%== pagy_bootstrap_nav(@pagy, **vars) %>
<%== pagy_bootstrap_nav_js(@pagy, **vars) %>
<%== pagy_bootstrap_combo_nav_js(@pagy, **vars) %>

See: Javascript if you use pagy_bootstrap_nav_js or pagy_bootstrap_combo_nav_js.

# Methods

This extra adds 3 nav helpers to the Pagy::Frontend module.

pagy_bootstrap_nav
pagy_bootstrap_nav

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

See: pagy_nav(pagy, **vars).

bootstrap_nav_js: Responsive nav.
bootstrap_nav_js: Responsive nav.

See: Javascript Navs.

bootstrap_combo_nav_js
bootstrap_combo_nav_js

See: Javascript Combo Navs.