Sha256: 1e7e759b4618af597a447cab80bb96aed4414bdaacbab4b6eec0e79d95fce12a

Contents?: true

Size: 683 Bytes

Versions: 20

Compression:

Stored size: 683 Bytes

Contents

require 'action_view'

module CCS
  module Components
    module GovUK
      class Pagination < Base
        class Item < Base
          # = GOV.UK Pagination Item ellipsis
          #
          # This generates the HTML for a  pagination ellipsis

          class Ellipsis
            extend ActionView::Context
            extend ActionView::Helpers

            # Generates the HTML for the GOV.UK Pagination Item ellipsis
            #
            # @return [ActiveSupport::SafeBuffer]

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ccs-frontend_helpers-2.1.0 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-2.0.0 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-1.2.0 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-1.1.2 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-1.1.1 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-1.1.0 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-1.1.0.beta0 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-1.0.0 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.5.0.beta1 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.5.0.beta0 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.3.0 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.2.0 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.1.2 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.1.1 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.1.1.rc.1 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.1.0.rc.7 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.1.0.rc.6 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.1.0.rc.5 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.1.0.rc.4 lib/ccs/components/govuk/pagination/item/ellipsis.rb
ccs-frontend_helpers-0.1.0.rc.3 lib/ccs/components/govuk/pagination/item/ellipsis.rb