Class: Ui::Table::Component

Inherits:
BaseComponent
  • Object
show all
Defined in:
lib/uikit_rails/templates/components/table/component.rb

Overview

Styled data table with header, body, and footer slots.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**html_attrs) ⇒ Component

Returns a new instance of Component.



13
14
15
16
# File 'lib/uikit_rails/templates/components/table/component.rb', line 13

def initialize(**html_attrs)
  @html_attrs = html_attrs
  super()
end

Instance Attribute Details

#html_attrsObject (readonly)

Returns the value of attribute html_attrs.



11
12
13
# File 'lib/uikit_rails/templates/components/table/component.rb', line 11

def html_attrs
  @html_attrs
end