Class: FoxTail::DotIndicatorComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- Base
- BaseComponent
- FoxTail::DotIndicatorComponent
- Defined in:
- app/components/fox_tail/dot_indicator_component.rb
Instance Attribute Summary
Attributes inherited from BaseComponent
Instance Method Summary collapse
Methods inherited from BaseComponent
classname_merger, #initialize, stimulus_merger, use_stimulus?, #with_html_attributes, #with_html_class
Methods inherited from Base
Constructor Details
This class inherits a constructor from FoxTail::BaseComponent
Instance Method Details
#call ⇒ Object
8 9 10 |
# File 'app/components/fox_tail/dot_indicator_component.rb', line 8 def call animated? ? render_animated_dot : render_dot end |