# See the Pagy documentation: https://ddnexus.github.io/pagy/extras/bulma # frozen_string_literal: true require 'pagy/extras/shared' class Pagy module Frontend # Pagination for Bulma: it returns the html with the series of links to the pages def pagy_bulma_nav(pagy) link = pagy_link_proc(pagy) html = +%() end def pagy_bulma_nav_js(pagy, id=pagy_id) link = pagy_link_proc(pagy) tags = { 'before' => %(#{pagy_bulma_prev_next_html(pagy, link)}