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