Class: Blacklight::Facets::PivotListComponent

Inherits:
ListComponent show all
Defined in:
app/components/blacklight/facets/pivot_list_component.rb

Instance Attribute Summary

Attributes inherited from ListComponent

#layout, #role

Instance Method Summary collapse

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:, role: 'tree', layout: nil) ⇒ PivotListComponent

Returns a new instance of PivotListComponent.



6
7
8
# File 'app/components/blacklight/facets/pivot_list_component.rb', line 6

def initialize(facet_field:, role: 'tree', layout: nil)
  super
end