[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
+3 -3
View File
@@ -42,7 +42,7 @@ Use slot to custom content.
</van-card>
```
### API
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -58,13 +58,13 @@ Use slot to custom content.
| thumb-link | Thumb link URL | `String` | - |
| lazy-load | Whether to enable thumb lazy loadshould register [Lazyload](#/en-US/lazyload) component | `Boolean` | `false` |
### Event
### Events
| Event | Description | Arguments |
|------|------|------|
| click | Triggered when clicked | - |
### Slot
### Slots
| Name | Description |
|------|------|
+3 -3
View File
@@ -42,7 +42,7 @@ Vue.use(Card);
</van-card>
```
### API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
@@ -58,13 +58,13 @@ Vue.use(Card);
| thumb-link | 点击左侧图片后的跳转链接 | `String` | - | 1.3.4 |
| lazy-load | 是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用 | `Boolean` | `false` | 1.5.0 |
### Event
### Events
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| click | 点击时触发 | - |
### Slot
### Slots
| 名称 | 说明 |
|------|------|