@@ -72,15 +72,14 @@ visible | Boolean | false | 上传面板是否可见 | N
7272
7373名称 | 参数 | 描述
7474-- | -- | --
75- blur | ` (value:string, context: { e: FocusEvent }) ` | 输入框聚焦时触发
76- change | ` (value:string, context: { e: InputEvent \| MouseEvent \| KeyboardEvent }) ` | 输入框值发生变化时触发
77- file-add | \- | 添加附件时触发
78- file-change | ` (file:FileItem) ` | 附件列表变化时触发
79- file-click | ` (file:FileItem) ` | 点击附件时触发
80- file-delete | ` (file:FileItem) ` | 删除附件时触发
81- file-select | ` (detail: {files: FileList, name: UploadActionType}) ` | 选择文件(图片/微信文件)时触发
82- focus | ` (value:string, context: { e: FocusEvent }) ` | 输入框聚焦时触发
75+ blur | ` (value: string, context: { e: FocusEvent }) ` | 输入框聚焦时触发
76+ change | ` (value: string, context: { e: InputEvent \| MouseEvent \| KeyboardEvent }) ` | 输入框值发生变化时触发
77+ file-change | ` (file: FileItem) ` | 附件列表变化时触发
78+ file-click | ` (file: FileItem) ` | 点击附件时触发
79+ file-delete | ` (file: FileItem) ` | 删除附件时触发
80+ file-select | ` (detail: {files: FileList, name: UploadActionType}) ` | 选择文件(图片/微信文件)时触发。[ 详细类型定义] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/chat-sender/type.ts ) 。<br />` type UploadActionType = 'uploadAttachment' \| 'uploadImage' ` <br />
81+ focus | ` (value: string, context: { e: FocusEvent }) ` | 输入框聚焦时触发
8382keyboardheightchange | ` (detail: {height: number, duration: number}) ` | 选择文件(图片/微信文件)时触发
84- send | ` (value:string, context: {\| KeyboardEvent }) ` | 点击消息发送的回调方法
85- stop | ` (value:string) ` | 点击消息终止的回调方法
83+ send | ` (value: string, context: {\| KeyboardEvent }) ` | 点击消息发送的回调方法
84+ stop | ` (value: string) ` | 点击消息终止的回调方法
8685upload-click | \- | 【实验】点击上传按钮时触发
0 commit comments