From 5a688e0217345fd2ddd2ee533cd23359fe765e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BB=91=E5=A8=81?= Date: Tue, 3 Nov 2020 11:46:43 +0800 Subject: [PATCH] Docs(input): update input docs (#512) * docs[input]: update input docs to composition api * fix: bugs * fix: fix some bugs in new input docs * fix: single quote replace double quote Co-authored-by: rotten --- website/docs/en-US/input.md | 422 +++++++++-------- website/docs/es/input.md | 424 +++++++++-------- website/docs/fr-FR/input.md | 422 +++++++++-------- website/docs/zh-CN/input.md | 909 +++++++++++++++++++++++------------- 4 files changed, 1295 insertions(+), 882 deletions(-) diff --git a/website/docs/en-US/input.md b/website/docs/en-US/input.md index 0a57f01a0a..e848d358a7 100644 --- a/website/docs/en-US/input.md +++ b/website/docs/en-US/input.md @@ -19,13 +19,14 @@ Do not support `v-model` modifiers. ``` ::: @@ -42,13 +43,14 @@ export default { ``` ::: @@ -65,13 +67,14 @@ export default { ``` ::: @@ -84,13 +87,14 @@ export default { ``` ::: @@ -119,12 +123,16 @@ Add an icon to indicate input type. - + - + @@ -136,16 +144,17 @@ Add an icon to indicate input type. ``` ::: @@ -165,13 +174,14 @@ Resizable for entering multiple lines of text information. Add attribute `type=" ``` ::: @@ -198,14 +208,15 @@ Setting the `autosize` prop for a textarea type of Input makes the height to aut ``` ::: @@ -219,22 +230,26 @@ Prepend or append an element, generally a label or a button. ```html
- +
- +
- - - - - - + +
@@ -247,16 +262,17 @@ Prepend or append an element, generally a label or a button. } ``` ::: @@ -288,16 +304,17 @@ export default { ``` ::: @@ -332,45 +349,53 @@ You can get some recommended tips based on the current input. ``` ::: @@ -386,19 +411,18 @@ Customize how suggestions are displayed. v-model="state" :fetch-suggestions="querySearch" placeholder="Please input" - @select="handleSelect"> - - -