Class: UI::ItemFooter
- Inherits:
-
Phlex::HTML
- Object
- Phlex::HTML
- UI::ItemFooter
- Includes:
- ItemFooterBehavior
- Defined in:
- app/components/ui/item_footer.rb
Instance Method Summary collapse
-
#initialize(classes: "", **attributes) ⇒ ItemFooter
constructor
A new instance of ItemFooter.
- #view_template(&block) ⇒ Object
Methods included from ItemFooterBehavior
#item_footer_classes, #item_footer_html_attributes
Constructor Details
#initialize(classes: "", **attributes) ⇒ ItemFooter
Returns a new instance of ItemFooter.
6 7 8 9 |
# File 'app/components/ui/item_footer.rb', line 6 def initialize(classes: "", **attributes) @classes = classes @attributes = attributes end |
Instance Method Details
#view_template(&block) ⇒ Object
11 12 13 |
# File 'app/components/ui/item_footer.rb', line 11 def view_template(&block) div(**, &block) end |