Class: AblyUi::Core::MeganavControl

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
MeganavConfig
Defined in:
lib/ably_ui/core/meganav_control/meganav_control.rb

Instance Method Summary collapse

Methods included from MeganavConfig

#panels, #theme, #theme_setup, #themes

Constructor Details

#initialize(aria_controls:, theme_name:) ⇒ MeganavControl

Returns a new instance of MeganavControl.



6
7
8
9
# File 'lib/ably_ui/core/meganav_control/meganav_control.rb', line 6

def initialize(aria_controls:, theme_name:)
  @aria_controls = aria_controls
  theme_setup(theme_name)
end