From ee574eb4af78e393590cfd9251d6730baebbc98c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhouxinyong=5B=E5=91=A8=E6=96=B0=E5=8B=87=5D?= Date: Fri, 15 Nov 2019 10:41:19 +0800 Subject: [PATCH] docs: update input docs and add input event --- examples/docs/en-US/input.md | 2 ++ examples/docs/es/input.md | 2 ++ examples/docs/fr-FR/input.md | 2 ++ 3 files changed, 6 insertions(+) diff --git a/examples/docs/en-US/input.md b/examples/docs/en-US/input.md index 64f851dedfd..11ef6ed38d5 100644 --- a/examples/docs/en-US/input.md +++ b/examples/docs/en-US/input.md @@ -605,6 +605,8 @@ export default { | 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) | +| 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 | — | ### Input Methods diff --git a/examples/docs/es/input.md b/examples/docs/es/input.md index 725ae2274e3..3835a4f736f 100644 --- a/examples/docs/es/input.md +++ b/examples/docs/es/input.md @@ -618,6 +618,8 @@ export default { | 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) | +| change | se activa solo cuando el cuadro de entrada pierde el foco o el usuario presiona Enter | (value: string \| number) | +| input | 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`. | — | ### Input Metodo diff --git a/examples/docs/fr-FR/input.md b/examples/docs/fr-FR/input.md index baf7c1adf01..cb215d9c437 100644 --- a/examples/docs/fr-FR/input.md +++ b/examples/docs/fr-FR/input.md @@ -604,6 +604,8 @@ export default { | blur | Se déclenche quand Input perds le focus. | (event: Event) | | focus | Se déclenche quand Input a le focus. | (event: Event) | | change | Se déclenche quand la valeur change. | (value: string \ number) | +| change | Déclenché uniquement lorsque la zone de saisie perd le focus ou que l'utilisateur appuie sur Entrée. | (value: string \| number) | +| input | Déclenché lorsque la valeur d'entrée change. | (value: string \| number) | | clear | Se déclenche quand le champ est effacé par le bouton de reset. | — | ### Méthodes de l'Input