PF6 ExpandableSection component
Expandable sections toggle the visibility of content.
See: https://www.patternfly.org/components/expandable-section
Construct an ExpandableSection
expandableSection
{ body = Element.text "Hidden content here..."
, isExpanded = model.expanded
, onToggle = SetExpanded
}Set the toggle button text when expanded
Set the toggle button text when collapsed
Detached mode — toggle button is separate from the content
Set explicit width
Render the ExpandableSection as an Element msg
Opaque ExpandableSection type