Class: DsfrComponent::SideMenuComponent
- Inherits:
-
Base
- Object
- Base
- DsfrComponent::SideMenuComponent
- Defined in:
- app/components/dsfr_component/side_menu_component.rb
Defined Under Namespace
Classes: ItemComponent
Instance Method Summary collapse
-
#initialize(title:, html_attributes: {}) ⇒ SideMenuComponent
constructor
A new instance of SideMenuComponent.
Constructor Details
#initialize(title:, html_attributes: {}) ⇒ SideMenuComponent
Returns a new instance of SideMenuComponent.
6 7 8 9 10 |
# File 'app/components/dsfr_component/side_menu_component.rb', line 6 def initialize(title:, html_attributes: {}) @title = title super(html_attributes:) end |