Collapse
Example
More examples please refer Demo
API
Collapse
Attribute | Description | Type | Default |
---|---|---|---|
name | Current expanded names |
| - |
list | Child panel |
| - |
accordion | Whether to be a accordion |
|
|
border | whether to show the outer border |
|
|
onChange | Triggered when switching panel |
| - |
CollapseItem
Attribute | Description | Type | Default |
---|---|---|---|
name | Panel identifier |
| - |
isExpanded | Whether to expand |
|
|
icon | Left icon |
| - |
title | Title |
| - |
value | Value |
| - |
label | Description |
| - |
rightIcon | Custom Right Icon |
| - |
clickable | Clickable |
|
|
customTitle | Custom title |
| - |
customLabel | Description under custom header |
| - |
content | Panel content |
| - |
children | Custom panel |
| - |
onExpansionChanged | Triggered after the panel expanded |
| - |
Last updated