Class: UiComponents::DaisyUi::DataDisplay::TimelineComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- UiComponents::DaisyUi::DataDisplay::TimelineComponent
- Defined in:
- app/components/ui_components/daisy_ui/data_display/timeline_component.rb
Constant Summary collapse
- CSS_CLASSES_DEFAULT =
%w[timeline].freeze
- CSS_CLASSES_VARIANTS =
%w[timeline-horizontal timeline-vertical timeline-snap-icon timeline-compact].freeze
- CSS_CLASSES =
( CSS_CLASSES_DEFAULT + CSS_CLASSES_VARIANTS + Timeline::ItemComponent::CSS_CLASSES ).freeze
Constants inherited from BaseComponent
BaseComponent::ALIGNS, BaseComponent::AXES, BaseComponent::COLORS, BaseComponent::KINDS, BaseComponent::SIZES
Instance Attribute Summary
Attributes inherited from BaseComponent
Instance Method Summary collapse
-
#initialize(vertical: false, **args) ⇒ TimelineComponent
constructor
A new instance of TimelineComponent.
Methods inherited from BaseComponent
Constructor Details
#initialize(vertical: false, **args) ⇒ TimelineComponent
Returns a new instance of TimelineComponent.
25 26 27 28 29 30 31 32 |
# File 'app/components/ui_components/daisy_ui/data_display/timeline_component.rb', line 25 def initialize( vertical: false, **args ) @vertical = vertical super(**args) end |