Class: LightningUiKit::Command::ItemComponent
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- LightningUiKit::Command::ItemComponent
- Defined in:
- app/components/lightning_ui_kit/command/item_component.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value: nil, **options) ⇒ ItemComponent
constructor
A new instance of ItemComponent.
Constructor Details
#initialize(value: nil, **options) ⇒ ItemComponent
Returns a new instance of ItemComponent.
4 5 6 7 |
# File 'app/components/lightning_ui_kit/command/item_component.rb', line 4 def initialize(value: nil, **) @value = value @options = end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
2 3 4 |
# File 'app/components/lightning_ui_kit/command/item_component.rb', line 2 def value @value end |