Class: UiComponents::DaisyUi::DataDisplay::Timeline::Item::ItemStartComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/ui_components/daisy_ui/data_display/timeline/item/item_start_component.rb

Constant Summary collapse

CSS_CLASSES_DEFAULT =
%w[timeline-start].freeze
CSS_CLASSES_VARIANTS =
%w[timeline-box].freeze
CSS_CLASSES =
(CSS_CLASSES_DEFAULT + CSS_CLASSES_VARIANTS).freeze

Constants inherited from BaseComponent

BaseComponent::ALIGNS, BaseComponent::AXES, BaseComponent::COLORS, BaseComponent::KINDS, BaseComponent::SIZES

Instance Attribute Summary

Attributes inherited from BaseComponent

#slot_order

Instance Method Summary collapse

Methods inherited from BaseComponent

tracks_slot_order

Constructor Details

#initialize(box: false, **args) ⇒ ItemStartComponent

Returns a new instance of ItemStartComponent.



17
18
19
20
21
22
23
24
# File 'app/components/ui_components/daisy_ui/data_display/timeline/item/item_start_component.rb', line 17

def initialize(
    box: false,
    **args
  )
  @box = box

  super(**args)
end