From ecb4aa459f7f141586d11033434bfb25af4216df Mon Sep 17 00:00:00 2001 From: qiang Date: Thu, 9 Jan 2020 18:33:01 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=94=B9=20input=E3=80=81text?= =?UTF-8?q?area=20=E7=BB=84=E4=BB=B6=20focus=20=E5=B1=9E=E6=80=A7=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/input.md | 2 +- docs/component/textarea.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/component/input.md b/docs/component/input.md index e1e0c213..eb531d79 100644 --- a/docs/component/input.md +++ b/docs/component/input.md @@ -15,7 +15,7 @@ |disabled|Boolean|false|是否禁用|| |maxlength|Number|140|最大输入长度,设置为 -1 的时候不限制最大长度|| |cursor-spacing|Number|0|指定光标与键盘的距离,单位 px 。取 input 距离底部的距离和 cursor-spacing 指定的距离的最小值作为光标与键盘的距离|App、微信小程序、百度小程序、QQ小程序| -|focus|Boolean|false|获取焦点。在 H5 平台聚焦后软键盘是否跟随弹出,取决于当前浏览器本身的规范(策略)。|| +|focus|Boolean|false|获取焦点。|在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。| |confirm-type|String|done|设置键盘右下角按钮的文字,仅在 type="text" 时生效。|| |confirm-hold|Boolean|false|点击键盘右下角按钮时是否保持键盘不收起|App、微信小程序、支付宝小程序、百度小程序、QQ小程序| |cursor|Number||指定focus时的光标位置|| diff --git a/docs/component/textarea.md b/docs/component/textarea.md index 7e1b9f34..527187bf 100644 --- a/docs/component/textarea.md +++ b/docs/component/textarea.md @@ -12,7 +12,7 @@ |placeholder-class|String|textarea-placeholder|指定 placeholder 的样式类|头条小程序不支持| |disabled|Boolean|false|是否禁用|| |maxlength|Number|140|最大输入长度,设置为 -1 的时候不限制最大长度|| -|focus|Boolean|false|获取焦点|| +|focus|Boolean|false|获取焦点|在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。| |auto-height|Boolean|false|是否自动增高,设置auto-height时,style.height不生效|| |fixed|Boolean|false|如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true|微信小程序、百度小程序、头条小程序、QQ小程序| |cursor-spacing|Number|0|指定光标与键盘的距离,单位 px 。取 textarea 距离底部的距离和 cursor-spacing 指定的距离的最小值作为光标与键盘的距离|App、微信小程序、百度小程序、头条小程序、QQ小程序| -- GitLab