Class: DaisyUI::Footer

Inherits:
Base
  • Object
show all
Defined in:
lib/daisy_ui/footer.rb

Constant Summary

Constants inherited from Base

Base::BOOLS, Base::COLOR_MODIFIERS

Instance Method Summary collapse

Methods inherited from Base

inherited, register_modifiers

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(**options, &)
  div(class: component_classes("footer-title", options:), **options, &)
end

#view_templateObject



12
13
14
# File 'lib/daisy_ui/footer.rb', line 12

def view_template(&)
  public_send(as, class: classes, **attributes, &)
end