[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
+2 -2
View File
@@ -68,7 +68,7 @@ Vue.use(Button);
<van-button size="mini">Mini</van-button>
```
### API
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -90,7 +90,7 @@ Vue.use(Button);
| to | Target route of the link, same as to of `vue-router` | `String | Object` | - |
| replace | If true, the navigation will not leave a history record | `Boolean` | `false` |
### Event
### Events
| Event | Description | Arguments |
|------|------|------|
+2 -2
View File
@@ -78,7 +78,7 @@ Vue.use(Button);
<van-button size="mini">迷你按钮</van-button>
```
### API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
@@ -101,7 +101,7 @@ Vue.use(Button);
| to | 路由跳转对象,同 `vue-router` 的 to | `String | Object` | - | 1.6.5 |
| replace | 跳转时是否替换当前页面历史 | `Boolean` | `false` | 1.6.5 |
### Event
### Events
| 事件名 | 说明 | 回调参数 |
|------|------|------|