Class: PhlexKit::SheetFooter
- Inherits:
-
BaseComponent
- Object
- Phlex::HTML
- BaseComponent
- PhlexKit::SheetFooter
- Defined in:
- app/components/phlex_kit/sheet/sheet_footer.rb
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ SheetFooter
constructor
A new instance of SheetFooter.
- #view_template ⇒ Object
Methods inherited from BaseComponent
Constructor Details
#initialize(**attrs) ⇒ SheetFooter
Returns a new instance of SheetFooter.
3 |
# File 'app/components/phlex_kit/sheet/sheet_footer.rb', line 3 def initialize(**attrs) = (@attrs = attrs) |
Instance Method Details
#view_template ⇒ Object
4 |
# File 'app/components/phlex_kit/sheet/sheet_footer.rb', line 4 def view_template(&) = div(**mix({ class: "pk-sheet-footer" }, @attrs), &) |