Card
Container properties
All component configurations support Container properties at the first level.
Component Properties
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| className | string | ✔️ | root div classname | |
| style | object | Root div's style | ||
| variant | 'pc' | 'mobile' | 'pc' | Desktop style pc, mobile style mobile | |
| size | 'small' | 'default' | 'default' | The size of the card | |
| title | string | Card's title | ||
| titleDesc | string | Description of Card | ||
| style | string | Card description | ||
| titleStyle | object | Card title div style | ||
| contentStyle | object | Card content div style | ||
| suppressMargin | bool | false | Whether to prohibit the Card's margins |
All remaining 'componentsProps' will be passed to the component root element (div).
JS API
The interface obtained via 'formApi.getFieldApi()' is as follows:
| Name | Type | Description |
|---|---|---|
| node | HTML Element | The root DOM element of the component |