[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
@@ -56,7 +56,7 @@ Use `action` slot to custom right button, `cancel` event will no longer be trigg
</van-search>
```
### API
### Props
Search support all native properties of input tagsuch as `maxlength`、`placeholder`、`autofocus`
@@ -71,7 +71,7 @@ Search support all native properties of input tagsuch as `maxlength`、`place
| error | Whether to show error info | `Boolean` | `false` |
| input-align | Input text align, can be set to `center` `right` | `String` | `left` |
### Event
### Events
Search support all native events of input tagsuch as `focus`、`blur`、`keypress`
@@ -81,7 +81,7 @@ Search support all native events of input tagsuch as `focus`、`blur`、`keyp
| search | Triggered when confirm search | - |
| clear | Triggered when click clear icon | - |
### Slot
### Slots
| Name | Description |
|------|------|