Class: Irelia::Navigation::Component
- Inherits:
-
Component
- Object
- ViewComponentContrib::Base
- Component
- Irelia::Navigation::Component
- Defined in:
- app/components/irelia/navigation/component.rb
Defined Under Namespace
Classes: NavigationLink
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
6 7 8 9 10 11 |
# File 'app/components/irelia/navigation/component.rb', line 6 def variants class_names( "irelia-navigation", "irelia-navigation--default": variant == :default ) end |