Class: Blacklight::ConstraintComponent
- Defined in:
- app/components/blacklight/constraint_component.rb
Constant Summary
Constants inherited from Component
Blacklight::Component::EXCLUDE_VARIABLES
Instance Method Summary collapse
-
#initialize(facet_item_presenter:, classes: 'filter', layout: Blacklight::ConstraintLayoutComponent) ⇒ ConstraintComponent
constructor
A new instance of ConstraintComponent.
Methods inherited from Component
Constructor Details
#initialize(facet_item_presenter:, classes: 'filter', layout: Blacklight::ConstraintLayoutComponent) ⇒ ConstraintComponent
Returns a new instance of ConstraintComponent.
7 8 9 10 11 |
# File 'app/components/blacklight/constraint_component.rb', line 7 def initialize(facet_item_presenter:, classes: 'filter', layout: Blacklight::ConstraintLayoutComponent) @facet_item_presenter = facet_item_presenter @classes = classes @layout = layout end |