Sie ist Teil der Accordion-Komponente.
Nummer | Typ | Beschreibung | Optional | Hinweis |
---|---|---|---|---|
1 | Komponente | sbb-extension-panel | Nein | |
2 | Komponente | sbb-expansion-panel-header | Nein | |
2a | Komponente | sbb-icon | Ja | |
2b | Text | Label | Nein | |
2c | Komponente | sbb-icon | Nein | Zeigt den Zustand an |
3 | Komponente | sbb-expansion-panel-content | Nein | |
3a | Slot | Beliebiger Inhalt erlaubt | Nein |
The sbb-expansion-panel-content
is a component which acts as a container for any element
that needs to be displayed in a sbb-expansion-panel.
<sbb-expansion-panel-content>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<p>
<span> Donec porttitor blandit odio, ut blandit libero cursus vel. </span>
<span>
Nunc eu congue mauris. Quisque sed facilisis leo. Curabitur malesuada, nibh ac blandit
vehicula, urna sem scelerisque magna, sed tincidunt neque arcu ac justo.
</span>
</p>
</sbb-expansion-panel-content>
When it's used in combination with a sbb-expansion-panel-header
with an icon displayed via slot or iconName
property,
the sbb-expansion-panel-content
receives a padding on the left side in order to align it with the header label.
Name | Description |
---|---|
Use the unnamed slot to add content to the sbb-expansion-panel . |