Collapse

<sw-collapse>

ready
A container which creates a collapsible list of items.

Usage

Loading...
<sw-collapse>
    <div slot="header">Header slot</div>
    <div slot="content">Content slot</div>
</sw-collapse>

Component properties

Property name Type Default
expandOnLoading Boolean false

Methods

Method name Parameters
collapseItem No parameters

Imports

  • ./sw-collapse.html.twig

Twig blocks

  • sw_collapse_panel_header_slot
  • sw_collapse_panel_header
  • sw_collapse_panel_content_slot
  • sw_collapse_panel_content
  • sw_collapse_panel

Slots

  • header
  • content