You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by kf...@apache.org on 2017/06/06 09:06:11 UTC

incubator-weex git commit: + [doc] update input doc

Repository: incubator-weex
Updated Branches:
  refs/heads/dev 466c4ee8a -> a643dedf2


+ [doc] update input doc


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a643dedf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a643dedf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a643dedf

Branch: refs/heads/dev
Commit: a643dedf2b6421629218270d899acd95dd714e7b
Parents: 466c4ee
Author: 齐山 <su...@163.com>
Authored: Tue Jun 6 17:04:06 2017 +0800
Committer: 齐山 <su...@163.com>
Committed: Tue Jun 6 17:04:06 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/references/components/input.md | 2 +-
 doc/source/references/components/input.md    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a643dedf/doc/source/cn/references/components/input.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/references/components/input.md b/doc/source/cn/references/components/input.md
index 796fb1f..a0aecf8 100644
--- a/doc/source/cn/references/components/input.md
+++ b/doc/source/cn/references/components/input.md
@@ -19,7 +19,7 @@ Weex 内置的 `<input>` 组件用来创建接收用户输入字符的输入组
 
 ## 特性
 
-- `type {string}`:控件的类型,默认值是 `<text>`。`type` 值可以是 `text`,`password`,`url`,`email`,`tel` 。每个 `type` 值都符合 W3C 标准。
+- `type {string}`:控件的类型,默认值是 `<text>`。`type` 值可以是 `text`,`password`,`url`,`email`,`tel` ,`number` 。每个 `type` 值都符合 W3C 标准。
 - `value {string}`:组件的接收到的输入字符。
 - `placeholder {string}`:提示用户可以输入什么。 提示文本不能有回车或换行。
 - `disabled {boolean}`:布尔类型的数据,表示是否支持输入。通常 `click` 事件在 `disabled` 控件上是失效的。

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a643dedf/doc/source/references/components/input.md
----------------------------------------------------------------------
diff --git a/doc/source/references/components/input.md b/doc/source/references/components/input.md
index 0864817..8eea2ad 100644
--- a/doc/source/references/components/input.md
+++ b/doc/source/references/components/input.md
@@ -17,7 +17,7 @@ This component supports no child components.
 
 ## Attributes
 
-* `type`: the type of controls to display. The default value is `text`, if this attribute is not specified. Possible values are `text`, `password`, `tel`, `email`, `url` etc. each of which has the same meaning with W3C standard.
+* `type`: the type of controls to display. The default value is `text`, if this attribute is not specified. Possible values are `text`, `password`, `tel`, `email`, `url` , `number` etc. each of which has the same meaning with W3C standard.
 
 * `value`: the value(text) of the control.