Class: DaisyUI::Table
- Inherits:
-
Base
- Object
- Phlex::HTML
- Base
- DaisyUI::Table
show all
- Defined in:
- lib/daisy_ui/table.rb
Constant Summary
Constants inherited
from Base
Base::BOOLS, Base::COLOR_MODIFIERS
Instance Method Summary
collapse
Methods inherited from Base
inherited, #initialize, register_modifiers
Constructor Details
This class inherits a constructor from DaisyUI::Base
Instance Method Details
#body ⇒ Object
19
20
21
|
# File 'lib/daisy_ui/table.rb', line 19
def body(...)
tbody(...)
end
|
23
24
25
|
# File 'lib/daisy_ui/table.rb', line 23
def (...)
(...)
end
|
11
12
13
|
# File 'lib/daisy_ui/table.rb', line 11
def (...)
thead(...)
end
|
#row ⇒ Object
15
16
17
|
# File 'lib/daisy_ui/table.rb', line 15
def row(...)
render TableRow.new(...)
end
|
#view_template ⇒ Object
7
8
9
|
# File 'lib/daisy_ui/table.rb', line 7
def view_template(&)
table(class: classes, **attributes, &)
end
|