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 Method Summary collapse
-
#initialize(aria_controls:, theme_name:) ⇒ MeganavControl
constructor
A new instance of MeganavControl.
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 |