[Doc] props title
This commit is contained in:
@@ -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 tag,such as `maxlength`、`placeholder`、`autofocus`
|
||||
|
||||
@@ -71,7 +71,7 @@ Search support all native properties of input tag,such 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 tag,such as `focus`、`blur`、`keypress`
|
||||
|
||||
@@ -81,7 +81,7 @@ Search support all native events of input tag,such as `focus`、`blur`、`keyp
|
||||
| search | Triggered when confirm search | - |
|
||||
| clear | Triggered when click clear icon | - |
|
||||
|
||||
### Slot
|
||||
### Slots
|
||||
|
||||
| Name | Description |
|
||||
|------|------|
|
||||
|
||||
@@ -48,7 +48,7 @@ Tips: 在 `van-search` 外层增加 form 标签,并且 action 不为空,即
|
||||
</van-search>
|
||||
```
|
||||
|
||||
### API
|
||||
### Props
|
||||
|
||||
Search 默认支持 Input 标签所有的原生属性,比如 `maxlength`、`placeholder`、`autofocus` 等
|
||||
|
||||
@@ -63,7 +63,7 @@ Search 默认支持 Input 标签所有的原生属性,比如 `maxlength`、`pl
|
||||
| error | 是否将输入内容标红 | `Boolean` | `false` | - |
|
||||
| input-align | 输入框内容对齐方式,可选值为 `center` `right` | `String` | `left` | - |
|
||||
|
||||
### Event
|
||||
### Events
|
||||
|
||||
Search 默认支持 Input 标签所有的原生事件,如 `focus`、`blur`、`keypress` 等
|
||||
|
||||
@@ -73,7 +73,7 @@ Search 默认支持 Input 标签所有的原生事件,如 `focus`、`blur`、`
|
||||
| search | 确定搜索 | - |
|
||||
| clear | 点击清除按钮后触发 | - |
|
||||
|
||||
### Slot
|
||||
### Slots
|
||||
|
||||
| 名称 | 说明 |
|
||||
|------|------|
|
||||
|
||||
Reference in New Issue
Block a user