Class: UiComponents::DaisyUi::DataDisplay::CountdownComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- UiComponents::DaisyUi::DataDisplay::CountdownComponent
- Defined in:
- app/components/ui_components/daisy_ui/data_display/countdown_component.rb
Constant Summary collapse
- CSS_CLASSES_DEFAULT =
%w[countdown].freeze
- CSS_CLASSES =
CSS_CLASSES_DEFAULT
Constants inherited from BaseComponent
BaseComponent::ALIGNS, BaseComponent::AXES, BaseComponent::COLORS, BaseComponent::CSS_CLASSES_VARIANTS, BaseComponent::KINDS, BaseComponent::SIZES
Instance Attribute Summary
Attributes inherited from BaseComponent
Instance Method Summary collapse
-
#initialize(automatic: true, **args) ⇒ CountdownComponent
constructor
A new instance of CountdownComponent.
Methods inherited from BaseComponent
Constructor Details
#initialize(automatic: true, **args) ⇒ CountdownComponent
Returns a new instance of CountdownComponent.
20 21 22 23 24 25 26 27 |
# File 'app/components/ui_components/daisy_ui/data_display/countdown_component.rb', line 20 def initialize( automatic: true, **args ) @automatic = automatic super(**args) end |