Sha256: dd8f4be7d62c0fde4433bb54d20de56ef6602238a8a2c48023ba9bd37cbb36ea

Contents?: true

Size: 379 Bytes

Versions: 46

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module Blacklight
  class ConstraintComponent < Blacklight::Component
    with_collection_parameter :facet_item_presenter

    def initialize(facet_item_presenter:, classes: 'filter', layout: Blacklight::ConstraintLayoutComponent)
      @facet_item_presenter = facet_item_presenter
      @classes = classes
      @layout = layout
    end
  end
end

Version data entries

46 entries across 45 versions & 2 rubygems

Version Path
blacklight-8.6.1 app/components/blacklight/constraint_component.rb
blacklight-7.40.0 app/components/blacklight/constraint_component.rb
blacklight-8.6.0 app/components/blacklight/constraint_component.rb
blacklight-8.5.1 app/components/blacklight/constraint_component.rb
blacklight-8.5.0 app/components/blacklight/constraint_component.rb
blacklight-7.39.0 app/components/blacklight/constraint_component.rb
blacklight-8.4.0 app/components/blacklight/constraint_component.rb
blacklight-7.38.0 app/components/blacklight/constraint_component.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/app/components/blacklight/constraint_component.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/app/components/blacklight/constraint_component.rb
blacklight-8.3.0 app/components/blacklight/constraint_component.rb
blacklight-8.2.2 app/components/blacklight/constraint_component.rb
blacklight-8.2.1 app/components/blacklight/constraint_component.rb
blacklight-8.2.0 app/components/blacklight/constraint_component.rb
blacklight-7.37.0 app/components/blacklight/constraint_component.rb
blacklight-7.36.2 app/components/blacklight/constraint_component.rb
blacklight-7.36.1 app/components/blacklight/constraint_component.rb
blacklight-7.36.0 app/components/blacklight/constraint_component.rb
blacklight-7.35.0 app/components/blacklight/constraint_component.rb
blacklight-8.1.0 app/components/blacklight/constraint_component.rb