Class: ExpressUi::Panel

Inherits:
ExpressTemplates::Container
  • Object
show all
Defined in:
app/components/express_ui/panel.rb

Instance Method Summary collapse

Instance Method Details



23
24
25
# File 'app/components/express_ui/panel.rb', line 23

def panel_footer
  config[:footer]
end

#panel_headerObject



27
28
29
30
31
32
33
34
# File 'app/components/express_ui/panel.rb', line 27

def panel_header
  case config[:header]
  when String
    config[:header]
  else
    config[:id].to_s.titleize
  end
end