Class: Blacklight::Facets::PivotListComponent
- Inherits:
-
ListComponent
- Object
- ViewComponent::Base
- Component
- ListComponent
- Blacklight::Facets::PivotListComponent
- Defined in:
- app/components/blacklight/facets/pivot_list_component.rb
Instance Attribute Summary
Attributes inherited from ListComponent
Instance Method Summary collapse
-
#initialize(facet_field:, classes: %w[pivot-facet facet-values list-unstyled],, role: 'tree', layout: nil) ⇒ PivotListComponent
constructor
A new instance of PivotListComponent.
Methods inherited from ListComponent
#facet_config, #facet_item_component_class, #facet_item_presenter, #facet_item_presenters, #facet_items, #render?
Methods inherited from Component
reset_compiler!, sidecar_files, upstream_sidecar_files
Constructor Details
#initialize(facet_field:, classes: %w[pivot-facet facet-values list-unstyled],, role: 'tree', layout: nil) ⇒ PivotListComponent
Returns a new instance of PivotListComponent.
6 7 8 9 10 11 |
# File 'app/components/blacklight/facets/pivot_list_component.rb', line 6 def initialize(facet_field:, classes: %w[pivot-facet facet-values list-unstyled], role: 'tree', layout: nil) super end |