Class: Spark::Table::Cell
- Inherits:
-
Component::Base
- Object
- ActionView::Component::Base
- Component::Base
- Spark::Table::Cell
- Defined in:
- app/components/spark/table/cell.rb
Constant Summary collapse
- SCOPE =
%i[col row colgroup rowgroup]
- SIZES =
%i[xs small base medium large xl max]
Instance Method Summary collapse
-
#initialize ⇒ Cell
constructor
A new instance of Cell.
Methods inherited from Component::Base
Constructor Details
#initialize ⇒ Cell
Returns a new instance of Cell.
23 24 25 26 27 |
# File 'app/components/spark/table/cell.rb', line 23 def initialize(*) super classname.add("nowrap") if @nowrap classname.add("rowlink-skip") if @rowlink_skip end |