Class: Geoblacklight::AccordionComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Geoblacklight::AccordionComponent
- Defined in:
- app/components/geoblacklight/accordion_component.rb
Instance Method Summary collapse
-
#initialize(id:, title:) ⇒ AccordionComponent
constructor
A new instance of AccordionComponent.
- #sidebar? ⇒ Boolean
Constructor Details
#initialize(id:, title:) ⇒ AccordionComponent
Returns a new instance of AccordionComponent.
5 6 7 8 9 |
# File 'app/components/geoblacklight/accordion_component.rb', line 5 def initialize(id:, title:) @id = id @title = title super() end |
Instance Method Details
#sidebar? ⇒ Boolean
11 12 13 |
# File 'app/components/geoblacklight/accordion_component.rb', line 11 def Geoblacklight.configuration.. end |