You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by mo...@apache.org on 2019/02/19 08:35:11 UTC

[incubator-weex-site] branch draft updated: update input component.

This is an automated email from the ASF dual-hosted git repository.

moshen pushed a commit to branch draft
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git


The following commit(s) were added to refs/heads/draft by this push:
     new b4c0de3  update input component.
b4c0de3 is described below

commit b4c0de3fa80ff4a444eabc6f0d3da0b1da40028a
Author: wqyfavor <qi...@taobao.com>
AuthorDate: Tue Feb 19 16:35:00 2019 +0800

    update input component.
---
 docs/docs/components/input.md    | 2 ++
 docs/zh/docs/components/input.md | 1 +
 2 files changed, 3 insertions(+)

diff --git a/docs/docs/components/input.md b/docs/docs/components/input.md
index e7e58da..56fd8a0 100644
--- a/docs/docs/components/input.md
+++ b/docs/docs/components/input.md
@@ -38,6 +38,8 @@ No child should be added to a `input`.
 
 * `upriseOffset`: <Badge text="v0.21+ & iOS" type="warn" vertical="middle"/> the additional vertical margin between bottom of input and top of keyboard if the keyboard would cover the input. Default is 20 system pixels on iOS.
 
+* `hideDoneButton`: <Badge text="iOS" type="warn" vertical="middle"/>, hide the "Done" button toolbar on keyboard.
+
 
 ## Styles
 
diff --git a/docs/zh/docs/components/input.md b/docs/zh/docs/components/input.md
index 7f405fa..9ea4ea8 100644
--- a/docs/zh/docs/components/input.md
+++ b/docs/zh/docs/components/input.md
@@ -36,6 +36,7 @@ table td:first-child {
 | `max`                                                                       | string  | 控制当 type 属性为 date 时选择日期的最大时间,格式为 yyyy-MM-dd                                                   |        |                                                                                                                                                                                                                                            |
 | `min`                                                                       | string  | 控制当 type 属性为 date 时选择日期的最小时间,格式为 yyyy-MM-dd                                                   |        |                                                                                                                                                                                                                                            |
 | `upriseOffset` <Badge text="v0.21+ & iOS" type="warn" vertical="middle"/> | number  | 当键盘弹起可能盖住输入框时,页面整体会上移。这个属性指定键盘上边缘与输入框下边缘的间隙。使用 iOS 系统坐标,默认是 20。 |    20    |                                                                                                                                                                                                                                            |
+| `hideDoneButton` <Badge text="iOS" type="warn" vertical="middle"/> | number  | 隐藏键盘上面的完成栏 |    false    |                                                                                                                                                                                                                                            |
 
 ## 样式