Class: AblyUi::Core::MeganavControl
- Inherits:
 - 
      ViewComponent::Base
      
        
- Object
 - ViewComponent::Base
 - AblyUi::Core::MeganavControl
 
 
- Includes:
 - MeganavConfig
 
- Defined in:
 - lib/ably_ui/core/meganav_control/meganav_control.rb
 
Instance Attribute Summary collapse
- 
  
    
      #additional_css  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute additional_css.
 - 
  
    
      #aria_controls  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute aria_controls.
 - 
  
    
      #aria_label  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute aria_label.
 
Instance Method Summary collapse
- 
  
    
      #initialize(aria_controls:, aria_label:, theme_name:, additional_css: '')  ⇒ MeganavControl 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of MeganavControl.
 
Methods included from MeganavConfig
#panels, #theme, #theme_setup, #themes
Constructor Details
#initialize(aria_controls:, aria_label:, theme_name:, additional_css: '') ⇒ MeganavControl
Returns a new instance of MeganavControl.
      7 8 9 10 11 12 13 14 15 16 17  | 
    
      # File 'lib/ably_ui/core/meganav_control/meganav_control.rb', line 7 def initialize( aria_controls:, aria_label:, theme_name:, additional_css: '' ) @aria_controls = aria_controls @aria_label = aria_label @additional_css = additional_css theme_setup(theme_name) end  | 
  
Instance Attribute Details
#additional_css ⇒ Object (readonly)
Returns the value of attribute additional_css.
      5 6 7  | 
    
      # File 'lib/ably_ui/core/meganav_control/meganav_control.rb', line 5 def additional_css @additional_css end  | 
  
#aria_controls ⇒ Object (readonly)
Returns the value of attribute aria_controls.
      5 6 7  | 
    
      # File 'lib/ably_ui/core/meganav_control/meganav_control.rb', line 5 def aria_controls @aria_controls end  | 
  
#aria_label ⇒ Object (readonly)
Returns the value of attribute aria_label.
      5 6 7  | 
    
      # File 'lib/ably_ui/core/meganav_control/meganav_control.rb', line 5 def aria_label @aria_label end  |