Class: Spark::Table::Row
- Inherits:
-
Component::Base
- Object
- ActionView::Component::Base
- Component::Base
- Spark::Table::Row
- Defined in:
- app/components/spark/table/row.rb
Constant Summary collapse
- ALIGN =
%i[left center right]
- VALIGN =
%i[top middle bottom]
Instance Method Summary collapse
-
#initialize ⇒ Row
constructor
A new instance of Row.
Methods inherited from Component::Base
Constructor Details
#initialize ⇒ Row
Returns a new instance of Row.
25 26 27 28 29 |
# File 'app/components/spark/table/row.rb', line 25 def initialize(*) super set_element_attribute_default(:td, align: @align, v_align: @v_align, nowrap: @nowrap) set_element_attribute_default(:th, align: @align, v_align: @v_align, nowrap: @nowrap) end |