mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 10:56:35 +08:00
docs(Cell): add extra slot (#6289)
* docs(Cell): add extra slot * docs: upd
This commit is contained in:
parent
8307b3d9ad
commit
5c8d1d2420
@ -155,9 +155,10 @@ Vue.use(CellGroup);
|
|||||||
### Cell Slots
|
### Cell Slots
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
| ---------- | ----------------- |
|
| ---------- | --------------------------------- |
|
||||||
| default | Custom value |
|
| default | Custom value |
|
||||||
| icon | Custom icon |
|
| icon | Custom icon |
|
||||||
| title | Custom title |
|
| title | Custom title |
|
||||||
| label | Custom label |
|
| label | Custom label |
|
||||||
| right-icon | Custom right icon |
|
| right-icon | Custom right icon |
|
||||||
|
| extra | Custom extra content on the right |
|
||||||
|
@ -159,8 +159,9 @@ Vue.use(CellGroup);
|
|||||||
|
|
||||||
| 名称 | 说明 |
|
| 名称 | 说明 |
|
||||||
| ---------- | ----------------------------- |
|
| ---------- | ----------------------------- |
|
||||||
| default | 自定义右侧内容 |
|
| default | 自定义右侧 value 的内容 |
|
||||||
| title | 自定义左侧标题 |
|
| title | 自定义左侧 title 的内容 |
|
||||||
| label | 自定义标题下方描述 |
|
| label | 自定义标题下方 label 的内容 |
|
||||||
| icon | 自定义左侧图标 |
|
| icon | 自定义左侧图标 |
|
||||||
| right-icon | 自定义右侧按钮,默认为`arrow` |
|
| right-icon | 自定义右侧按钮,默认为`arrow` |
|
||||||
|
| extra | 自定义单元格最右侧的额外内容 |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user