Collapse
Container properties
All component configurations support Container properties at the first level.
Component properties
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| className | string | ✔️ | component's className | |
| style | object | component's style | ||
| defaultActiveKey | string | antd Collapse properties | ||
| items | Array<{ key: string, label: string, fields: array, hidden: bool }> | Contents of Collapse | ||
| itemSplit | bool | false | When the value is true, multiple folded panels are directly laid out separately, otherwise the panels will be fit together | |
| defaultActiveKey | string | Array<string> |
All the remaining componentsProps will be passed to the component root element(Collapse)。
JS API
The interface obtained through formApi.getFieldApi() is as follows:
| Name | Type | Description |
|---|---|---|
| node | HTML Element | The root DOM element of the component |