Class: Irelia::PageHeader::Component
- Inherits:
-
Component
- Object
- ViewComponentContrib::Base
- Component
- Irelia::PageHeader::Component
- Defined in:
- app/components/irelia/page_header/component.rb
Instance Method Summary collapse
Methods inherited from Component
#add_css_classes, after_initialize, #html_options, inherited, #initialize, run_after_initialize_hooks
Constructor Details
This class inherits a constructor from Irelia::Component
Instance Method Details
#variants ⇒ Object
10 11 12 13 14 15 16 |
# File 'app/components/irelia/page_header/component.rb', line 10 def variants class_names( "irelia-page-header", "irelia-page-header--default": variant == :default, "irelia-page-header--split-screen": variant == :split_screen ) end |