Class: CCS::Components::GovUK::Pagination::Item::Ellipsis

Inherits:
Object
  • Object
show all
Extended by:
ActionView::Context, ActionView::Helpers
Defined in:
lib/ccs/components/govuk/pagination/item/ellipsis.rb

Overview

GOV.UK Pagination Item ellipsis

This generates the HTML for a pagination ellipsis

Class Method Summary collapse

Class Method Details

.renderActiveSupport::SafeBuffer

Generates the HTML for the GOV.UK Pagination Item ellipsis

Returns:

  • (ActiveSupport::SafeBuffer)


20
21
22
# File 'lib/ccs/components/govuk/pagination/item/ellipsis.rb', line 20

def self.render
  tag.li('', class: 'govuk-pagination__item govuk-pagination__item--ellipses')
end