docs(components): update el-input docs (#8500)

Co-authored-by: KimYangOfCat <kim.yang.yj@outlook.com>
This commit is contained in:
Kim Yang 2022-07-03 12:46:57 +08:00 committed by GitHub
parent e9b50baf7d
commit 483c32f341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,13 +160,13 @@ input/length-limiting
## Input Events
| Event Name | Description | Parameters |
| ---------- | ---------------------------------------------------------------------- | ------------------------- |
| blur | triggers when Input blurs | (event: Event) |
| focus | triggers when Input focuses | (event: Event) |
| change | triggers only when the input box loses focus or the user presses Enter | (value: string \| number) |
| input | triggers when the Input value change | (value: string \| number) |
| clear | triggers when the Input is cleared by clicking the clear button | — |
| Event Name | Description | Parameters |
| ---------- | ----------------------------------------------------------------------------------------------------- | ------------------------- |
| blur | triggers when Input blurs | (event: Event) |
| focus | triggers when Input focuses | (event: Event) |
| change | triggers when the input box loses focus or the user presses Enter, only if the modelValue has changed | (value: string \| number) |
| input | triggers when the Input value change | (value: string \| number) |
| clear | triggers when the Input is cleared by clicking the clear button | — |
## Input Methods