[Improvement] Cell: add arrow-direction prop (#1323)

* [Improvement] Cell: add arrow-direction prop

* update
This commit is contained in:
Fyerl
2018-06-28 08:27:24 +08:00
committed by neverland
parent 83ab9b1917
commit f5fc86f182
5 changed files with 23 additions and 3 deletions
+2
View File
@@ -40,6 +40,7 @@ Vue.use(Cell).use(CellGroup);
<van-cell-group>
<van-cell title="Cell title" is-link />
<van-cell title="Cell title" is-link value="Content" />
<van-cell title="Cell title" is-link arrow-direction="down" value="Content" />
</van-cell-group>
```
@@ -82,6 +83,7 @@ Vue.use(Cell).use(CellGroup);
| clickable | Whether to show click feedback when clicked | `Boolean` | `false` |
| is-link | Whether to show link icon | `Boolean` | `false` |
| required | Whether to show required mark | `Boolean` | `false` |
| arrow-direction | Can be set to `left` `up` `down` | `String` | - |
### Cell Event