Class: Spark::Table
- Inherits:
-
Component::Base
- Object
- ActionView::Component::Base
- Component::Base
- Spark::Table
- Defined in:
- app/components/spark/table.rb,
app/components/spark/table/row.rb,
app/components/spark/table/cell.rb,
app/components/spark/table/detail.rb,
app/components/spark/table/object.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Cell, Detail, Object, Row
Constant Summary collapse
- THEME =
%i[default detail].freeze
Instance Method Summary collapse
-
#initialize ⇒ Table
constructor
A new instance of Table.
Methods inherited from Component::Base
Constructor Details
#initialize ⇒ Table
Returns a new instance of Table.
17 18 19 20 21 |
# File 'app/components/spark/table.rb', line 17 def initialize(*) super classname.add("spark-table") end |