Class: Spark::Table::Cell

Inherits:
Component::Base show all
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

Methods inherited from Component::Base

#selector, #to_s, #unique_id

Constructor Details

#initializeCell

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