[Doc] props title

This commit is contained in:
陈嘉涵
2019-05-03 09:37:24 +08:00
parent 921f8a88fb
commit e3cb465dc2
101 changed files with 279 additions and 283 deletions
+4 -4
View File
@@ -90,14 +90,14 @@ Vue.use(Cell).use(CellGroup);
</van-cell-group>
```
### CellGroup API
### CellGroup Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| title | Group title | `String` | - |
| border | Whether to show outer border | `Boolean` | `true` |
### Cell API
### Cell Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -120,13 +120,13 @@ Vue.use(Cell).use(CellGroup);
| value-class | Value className | `any` | - |
| label-class | Label className | `any` | - |
### Cell Event
### Cell Events
| Event | Description | Arguments |
|------|------|------|
| click | Triggered when click cell | - |
### Cell Slot
### Cell Slots
| Name | Description |
|------|------|
+4 -4
View File
@@ -94,14 +94,14 @@ Vue.use(Cell).use(CellGroup);
</van-cell>
```
### CellGroup API
### CellGroup Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| title | 分组标题 | `String` | `-` | 1.6.9 |
| border | 是否显示外边框 | `Boolean` | `true` | - |
### Cell API
### Cell Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
@@ -124,13 +124,13 @@ Vue.use(Cell).use(CellGroup);
| value-class | 右侧内容额外类名 | `any` | - | 1.4.8 |
| label-class | 描述信息额外类名 | `any` | - | 1.4.8 |
### Cell Event
### Cell Events
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| click | 点击单元格时触发 | - |
### Cell Slot
### Cell Slots
| 名称 | 说明 |
|------|------|