Browse Source

Input: fix docs for clear event param (#10784)

杨奕 7 years ago
parent
commit
0c475a98c0
3 changed files with 3 additions and 3 deletions
  1. 1 1
      examples/docs/en-US/input.md
  2. 1 1
      examples/docs/es/input.md
  3. 1 1
      examples/docs/zh-CN/input.md

+ 1 - 1
examples/docs/en-US/input.md

@@ -682,7 +682,7 @@ Search data from server-side.
 | blur | triggers when Input blurs | (event: Event) |
 | focus | triggers when Input focuses | (event: Event) |
 | change | triggers when the icon inside Input value change | (value: string \| number) |
-| clear | triggers when the Input is cleared by the button which generated by the "clearable" attribute | (event: Event) |
+| clear | triggers when the Input is cleared by clicking the clear button | — |
 
 ### Input Methods
 

+ 1 - 1
examples/docs/es/input.md

@@ -661,7 +661,7 @@ Búsqueda de datos desde el servidor.
 | blur   | Se dispara cuando se pierde el foco      | (event: Event)            |
 | focus  | Se dispara cuando se obtiene el foco     | (event: Event)            |
 | change | se activa cuando cambia el valor de entrada | (value: string \| number) |
-| clear | se dispara cuando la entrada es borrada por el botón generado por el atributo "clearable". | (event: Event) |
+| clear | se dispara cuando la entrada es borrada por el botón generado por el atributo "clearable". |  |
 
 ### Input Metodo
 

+ 1 - 1
examples/docs/zh-CN/input.md

@@ -836,7 +836,7 @@ export default {
 | blur | 在 Input 失去焦点时触发 | (event: Event) |
 | focus | 在 Input 获得焦点时触发 | (event: Event) |
 | change | 在 Input 值改变时触发 | (value: string \| number) |
-| clear | 在点击"clearable"属性生成的清空按钮时触发 | (event: Event) |
+| clear | 在点击由 `clearable` 属性生成的清空按钮时触发 | — |
 
 ### Input Methods
 | 方法名 | 说明 | 参数 |