Class: Fluxbit::Component::ComponentObj
- Inherits:
-
Data
- Object
- Data
- Fluxbit::Component::ComponentObj
- Defined in:
- app/components/fluxbit/component.rb
Overview
Custom class to hold button properties and content
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#props ⇒ Object
readonly
Returns the value of attribute props.
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content
9 10 11 |
# File 'app/components/fluxbit/component.rb', line 9 def content @content end |
#props ⇒ Object (readonly)
Returns the value of attribute props
9 10 11 |
# File 'app/components/fluxbit/component.rb', line 9 def props @props end |