[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
@@ -109,7 +109,7 @@ Use button slot to insert button
</van-cell-group>
```
### API
### Props
Field support all native properties of input tagsuch as `maxlength`、`placeholder`、`autofocus`
@@ -136,7 +136,7 @@ Field support all native properties of input tagsuch as `maxlength`、`placeh
| left-icon | Left side icon name | `String` | - |
| right-icon | Right side icon name | `String` | - |
### Event
### Events
Field support all native events of input tagsuch as `focus`、`blur`、`keypress`
@@ -156,7 +156,7 @@ Use ref to get field instance and call instance methods
| focus | - | - | Trigger input focus |
| blur | - | - | Trigger input blur |
### Slot
### Slots
| Name | Description |
|------|------|
+3 -3
View File
@@ -116,7 +116,7 @@ Vue.use(Field);
</van-cell-group>
```
### API
### Props
Field 默认支持 Input 标签所有的原生属性,比如 `maxlength`、`placeholder`、`autofocus` 等
@@ -143,7 +143,7 @@ Field 默认支持 Input 标签所有的原生属性,比如 `maxlength`、`pla
| left-icon | 输入框左侧图标名称或图片链接,可选值见 Icon 组件 | `String` | - | 1.5.7 |
| right-icon | 输入框尾部图标名称或图片链接,可选值见 Icon 组件 | `String` | - | 1.5.7 |
### Event
### Events
Field 默认支持 Input 标签所有的原生事件,如 `focus`、`blur`、`keypress` 等
@@ -163,7 +163,7 @@ Field 默认支持 Input 标签所有的原生事件,如 `focus`、`blur`、`k
| focus | - | - | 获取输入框焦点 |
| blur | - | - | 取消输入框焦点 |
### Slot
### Slots
| 名称 | 说明 |
|------|------|