Hanks10100 closed pull request #196: Input component add
auto-capitalization-type support
URL: https://github.com/apache/incubator-weex-site/pull/196
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/source/cn/references/components/input.md
b/source/cn/references/components/input.md
index 66c85e7c9..75e74f2ae 100644
--- a/source/cn/references/components/input.md
+++ b/source/cn/references/components/input.md
@@ -27,6 +27,7 @@ Weex 内置的 `<input>` 组件用来创建接收用户输入字符的输入组
- `autofocus {boolean}`:布尔类型的数据,表示是否在页面加载时控件自动获得输入焦点。
- `maxlength {nubmer}`:<sup class="wx-v">v0.7</sup>一个数值类型的值,表示输入的最大长度。
- `return-key-type {string}`:<sup class="wx-v">v0.11</sup>键盘返回键的类型,支持
defalut;go;next;search;send,done。
+- `auto-capitalization-type {string}`:键盘自动大小写类型,支持
none;words;sentences;allCharacters
- `singleline {boolean}`:控制内容是否只允许单行
- `max-length {number}`:控制输入内容的最大长度
- `lines`:控制输入内容的最大行数
diff --git a/source/references/components/input.md
b/source/references/components/input.md
index 8d866ea60..1b0ec0df3 100644
--- a/source/references/components/input.md
+++ b/source/references/components/input.md
@@ -42,6 +42,9 @@ This component does not support any child component.
* `return-key-type`:<sup class="wx-v">v0.11</sup>the keybord returen key type
support `defalut`, `go`, `next`, `search`, `send`, `done`.
+* `auto-capitalization-type`:the keybord auto capitalization type support
`none`, `words`, `sentences`, `allCharacters`.
+
+
## Styles
* placeholder-color: the color of placeholder. Default value is '#999999'.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services