mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Search): add click-input event (#9010)
This commit is contained in:
parent
0ac7dad604
commit
f7ef3b316b
@ -147,7 +147,8 @@ Use `action` slot to custom right button, `cancel` event will no longer be Emitt
|
|||||||
| update:model-value | Emitted when input value changed | _value: string_ |
|
| update:model-value | Emitted when input value changed | _value: string_ |
|
||||||
| focus | Emitted when input is focused | _event: Event_ |
|
| focus | Emitted when input is focused | _event: Event_ |
|
||||||
| blur | Emitted when input is blurred | _event: Event_ |
|
| blur | Emitted when input is blurred | _event: Event_ |
|
||||||
| clear | Emitted when the clear icon is clicked | _event: Event_ |
|
| click-input | Emitted when the input is clicked | _event: MouseEvent_ |
|
||||||
|
| clear | Emitted when the clear icon is clicked | _event: MouseEvent_ |
|
||||||
| cancel | Emitted when the cancel button is clicked | - |
|
| cancel | Emitted when the cancel button is clicked | - |
|
||||||
|
|
||||||
### Methods
|
### Methods
|
||||||
|
@ -159,7 +159,8 @@ export default {
|
|||||||
| update:model-value | 输入框内容变化时触发 | _value: string (当前输入的值)_ |
|
| update:model-value | 输入框内容变化时触发 | _value: string (当前输入的值)_ |
|
||||||
| focus | 输入框获得焦点时触发 | _event: Event_ |
|
| focus | 输入框获得焦点时触发 | _event: Event_ |
|
||||||
| blur | 输入框失去焦点时触发 | _event: Event_ |
|
| blur | 输入框失去焦点时触发 | _event: Event_ |
|
||||||
| clear | 点击清除按钮后触发 | _event: Event_ |
|
| click-input | 点击输入区域时触发 | _event: MouseEvent_ |
|
||||||
|
| clear | 点击清除按钮后触发 | _event: MouseEvent_ |
|
||||||
| cancel | 点击取消按钮时触发 | - |
|
| cancel | 点击取消按钮时触发 | - |
|
||||||
|
|
||||||
### 方法
|
### 方法
|
||||||
|
Loading…
x
Reference in New Issue
Block a user