描述数据组件
- Source:
Members
(inner) props
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
title |
string |
<optional> |
标题文本,复杂内容可以用插槽定义 |
|
width |
number |
<optional> |
标题区宽度, top 为false有效 |
|
gutter |
number |
<optional> |
10
|
标题区与内容区的边距 |
align |
string |
<optional> |
left
|
标题区对齐方式, 可选 'left', 'right', 'center' |
top |
boolean |
<optional> |
false
|
标题在顶部 |
inline |
boolean |
<optional> |
false
|
单行显示 |
border |
boolean |
<optional> |
false
|
下划线 |
属性参数
(inner) slots
- Source:
Properties:
Name | Type | Description |
---|---|---|
default |
string | 默认插槽,展示内容 |
title |
string | 定义标题内容 |
插槽 slots