Class: UI::DrawerFooter
- Inherits:
-
Phlex::HTML
- Object
- Phlex::HTML
- UI::DrawerFooter
- Includes:
- DrawerFooterBehavior
- Defined in:
- app/components/ui/drawer_footer.rb
Instance Method Summary collapse
-
#initialize(classes: nil, **attributes) ⇒ DrawerFooter
constructor
A new instance of DrawerFooter.
- #view_template(&block) ⇒ Object
Methods included from DrawerFooterBehavior
#drawer_footer_base_classes, #drawer_footer_classes, #drawer_footer_html_attributes
Constructor Details
#initialize(classes: nil, **attributes) ⇒ DrawerFooter
Returns a new instance of DrawerFooter.
6 7 8 9 |
# File 'app/components/ui/drawer_footer.rb', line 6 def initialize(classes: nil, **attributes) @classes = classes @attributes = attributes end |
Instance Method Details
#view_template(&block) ⇒ Object
11 12 13 14 15 |
# File 'app/components/ui/drawer_footer.rb', line 11 def view_template(&block) div(**) do yield if block_given? end end |