Class: Alchemy::Admin::ElementStatusIndicators
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Alchemy::Admin::ElementStatusIndicators
- Defined in:
- app/components/alchemy/admin/element_status_indicators.rb
Overview
Renders the visibility state badges (hidden / scheduled) shown for an element in the element header.
Instance Method Summary collapse
-
#initialize(element:) ⇒ ElementStatusIndicators
constructor
A new instance of ElementStatusIndicators.
Constructor Details
#initialize(element:) ⇒ ElementStatusIndicators
Returns a new instance of ElementStatusIndicators.
8 9 10 |
# File 'app/components/alchemy/admin/element_status_indicators.rb', line 8 def initialize(element:) @element = element end |