Class: DaisyUI::Footer
Constant Summary
Constants inherited from Base
Base::BOOLS, Base::COLOR_MODIFIERS
Instance Method Summary collapse
-
#initialize(as: :footer) ⇒ Footer
constructor
A new instance of Footer.
- #title(**options) ⇒ Object
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(as: :footer) ⇒ Footer
Returns a new instance of Footer.
8 9 10 |
# File 'lib/daisy_ui/footer.rb', line 8 def initialize(*, as: :footer, **) super end |
Instance Method Details
#title(**options) ⇒ Object
16 17 18 |
# File 'lib/daisy_ui/footer.rb', line 16 def title(**, &) div(class: component_classes("footer-title", options:), **, &) end |
#view_template ⇒ Object
12 13 14 |
# File 'lib/daisy_ui/footer.rb', line 12 def view_template(&) public_send(as, class: classes, **attributes, &) end |