Class: PhlexKit::DrawerFooter

Inherits:
BaseComponent show all
Defined in:
app/components/phlex_kit/drawer/drawer_footer.rb

Overview

See drawer.rb.

Instance Method Summary collapse

Methods inherited from BaseComponent

#on

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_templateObject



5
# File 'app/components/phlex_kit/drawer/drawer_footer.rb', line 5

def view_template(&) = div(**mix({ class: "pk-drawer-footer" }, @attrs), &)