Collapse is used for showing and hiding content.
| Class name | Type | |
|---|---|---|
| collapse | Component | Container element |
| collapse-title | Component | Title element |
| collapse-content | Component | Container for content |
| collapse-arrow | Modifier | Adds arrow icon |
| collapse-plus | Modifier | Adds plus/minus icon |
| collapse-open | Modifier | Force open |
| collapse-close | Modifier | Force close |
tabindex="0" attribute is necessary to make the div focusable
hello
content
<details> tag, we can't have animations because <details> tag doesn't allow CSS transitions.tabindex="0" attribute is necessary to make the div focusable
tabindex="0" attribute is necessary to make the div focusable
tabindex="0" attribute is necessary to make the div focusable
tabindex="0" attribute is necessary to make the div focusable
tabindex="0" attribute is necessary to make the div focusable
tabindex="0" attribute is necessary to make the div focusable
hello