Class: ForestAdminDatasourceToolkit::Components::Actions::ActionLayoutElement::HtmlBlockElement
- Inherits:
-
BaseLayoutElement
- Object
- BaseLayoutElement
- ForestAdminDatasourceToolkit::Components::Actions::ActionLayoutElement::HtmlBlockElement
- Defined in:
- lib/forest_admin_datasource_toolkit/components/actions/action_layout_element.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Attributes inherited from BaseLayoutElement
Instance Method Summary collapse
-
#initialize(content:, **options) ⇒ HtmlBlockElement
constructor
A new instance of HtmlBlockElement.
Methods inherited from BaseLayoutElement
Constructor Details
#initialize(content:, **options) ⇒ HtmlBlockElement
Returns a new instance of HtmlBlockElement.
37 38 39 40 |
# File 'lib/forest_admin_datasource_toolkit/components/actions/action_layout_element.rb', line 37 def initialize(content:, **) super(component: 'HtmlBlock', **) @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
35 36 37 |
# File 'lib/forest_admin_datasource_toolkit/components/actions/action_layout_element.rb', line 35 def content @content end |