Class: Arara::DataTableBodyComponent
- Inherits:
-
ActionView::Component::Base
- Object
- ActionView::Component::Base
- Arara::DataTableBodyComponent
- Includes:
- BaseComponent
- Defined in:
- app/components/arara/data_table_body_component.rb
Instance Method Summary collapse
- #default_html_class ⇒ Object
-
#initialize(**kw) ⇒ DataTableBodyComponent
constructor
A new instance of DataTableBodyComponent.
Methods included from BaseComponent
#default_data_controller, #default_html_tag, #html_class, #html_content, #html_data, #html_options, #html_tag, included
Constructor Details
#initialize(**kw) ⇒ DataTableBodyComponent
Returns a new instance of DataTableBodyComponent.
7 8 9 |
# File 'app/components/arara/data_table_body_component.rb', line 7 def initialize(**kw) super(tag: "tbody", **kw) end |
Instance Method Details
#default_html_class ⇒ Object
11 12 13 |
# File 'app/components/arara/data_table_body_component.rb', line 11 def default_html_class "mdc-data-table__content" end |