Class: Avo::Fields::Common::CollapsableContentComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/avo/fields/common/collapsable_content_component.rb

Overview

Collapses long field content to a short, faded preview with "More content" / "Less content" toggles. Rendered by the field wrapper when it gets collapsable: true — fields opt in through their show components.