Class: AblyUi::Core::MeganavControlMobilePanelClose
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- AblyUi::Core::MeganavControlMobilePanelClose
- Defined in:
- lib/ably_ui/core/meganav_control_mobile_panel_close/meganav_control_mobile_panel_close.rb
Instance Attribute Summary collapse
-
#aria_controls ⇒ Object
readonly
Returns the value of attribute aria_controls.
-
#display_hr ⇒ Object
readonly
Returns the value of attribute display_hr.
Instance Method Summary collapse
-
#initialize(aria_controls:, display_hr: true) ⇒ MeganavControlMobilePanelClose
constructor
A new instance of MeganavControlMobilePanelClose.
Constructor Details
#initialize(aria_controls:, display_hr: true) ⇒ MeganavControlMobilePanelClose
Returns a new instance of MeganavControlMobilePanelClose.
6 7 8 9 |
# File 'lib/ably_ui/core/meganav_control_mobile_panel_close/meganav_control_mobile_panel_close.rb', line 6 def initialize(aria_controls:, display_hr: true) @aria_controls = aria_controls @display_hr = display_hr end |
Instance Attribute Details
#aria_controls ⇒ Object (readonly)
Returns the value of attribute aria_controls.
4 5 6 |
# File 'lib/ably_ui/core/meganav_control_mobile_panel_close/meganav_control_mobile_panel_close.rb', line 4 def aria_controls @aria_controls end |
#display_hr ⇒ Object (readonly)
Returns the value of attribute display_hr.
4 5 6 |
# File 'lib/ably_ui/core/meganav_control_mobile_panel_close/meganav_control_mobile_panel_close.rb', line 4 def display_hr @display_hr end |