Class: Bs5::ExpandableListItemHeaderTitleComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Bs5::ExpandableListItemHeaderTitleComponent
- Defined in:
- app/components/bs5/expandable_list_item_header_title_component.rb
Instance Attribute Summary collapse
-
#target_id ⇒ Object
readonly
Returns the value of attribute target_id.
Instance Method Summary collapse
-
#initialize(target_id:) ⇒ ExpandableListItemHeaderTitleComponent
constructor
A new instance of ExpandableListItemHeaderTitleComponent.
Constructor Details
permalink #initialize(target_id:) ⇒ ExpandableListItemHeaderTitleComponent
Returns a new instance of ExpandableListItemHeaderTitleComponent.
10 11 12 |
# File 'app/components/bs5/expandable_list_item_header_title_component.rb', line 10 def initialize(target_id:) @target_id = target_id end |
Instance Attribute Details
permalink #target_id ⇒ Object (readonly)
Returns the value of attribute target_id.
8 9 10 |
# File 'app/components/bs5/expandable_list_item_header_title_component.rb', line 8 def target_id @target_id end |