Class: FoxTail::Timeline::EntryComponent
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- FoxTail::Timeline::EntryComponent
- Defined in:
- app/components/fox_tail/timeline/entry_component.rb
Instance Method Summary collapse
Instance Method Details
#before_render ⇒ Object
55 56 57 58 59 60 |
# File 'app/components/fox_tail/timeline/entry_component.rb', line 55 def before_render super with_dot_indicator unless visual? html_attributes[:class] = classnames theme.apply(:root, self), html_class end |
#render? ⇒ Boolean
51 52 53 |
# File 'app/components/fox_tail/timeline/entry_component.rb', line 51 def render? content? end |