From 9c14cfb49607ae38331e2dd2ce85901e2ea829b7 Mon Sep 17 00:00:00 2001 From: jixinbao Date: Fri, 12 Jul 2024 11:08:11 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=AE=8C=E5=96=84=E5=BF=AB=E6=89=8B?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=20textarea=20=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/textarea.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/component/textarea.md b/docs/component/textarea.md index da41edb99..6f4dca8d1 100644 --- a/docs/component/textarea.md +++ b/docs/component/textarea.md @@ -33,7 +33,7 @@ |ignoreCompositionEvent|boolean|true|是否忽略组件内对文本合成系统事件的处理。为 `false` 时将触发 `compositionstart、compositionend、compositionupdate` 事件,且在文本合成期间会触发 `input` 事件|App-vue (3.4.4+)、H5 (3.4.4+)、App-nvue不支持| |inputmode|String|"text"|是一个枚举属性,它提供了用户在编辑元素或其内容时可能输入的数据类型的提示。[有效值](#inputmode)|H5(3.7.0+)、App-vue(3.7.0+)| |@focus|EventHandle||输入框聚焦时触发,event.detail = { value, height },height 为键盘高度|仅微信小程序、京东小程序、App(HBuilderX 2.0+ [nvue uni-app模式](http://ask.dcloud.net.cn/article/36074)) 、QQ小程序支持 height| -|@blur|EventHandle||输入框失去焦点时触发,event.detail = {value, cursor}|快手小程序不支持| +|@blur|EventHandle||输入框失去焦点时触发,event.detail = {value, cursor}|快手小程序不支持 cursor| |@linechange|EventHandle||输入框行数变化时调用,event.detail = {height: 0, heightRpx: 0, lineCount: 0}|抖音小程序、飞书小程序、快手小程序不支持| |@input|EventHandle||当键盘输入时,触发 input 事件,event.detail = {value, cursor}, @input 处理函数的返回值并不会反映到 textarea 上|快手小程序不支持| |@confirm|EventHandle||点击完成时, 触发 confirm 事件,event.detail = {value: value}|微信小程序、百度小程序、QQ小程序、京东小程序| -- GitLab