Skip to content

Commit

Permalink
docs(textarea): update README for textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
yiwwhl committed Sep 19, 2024
1 parent b908c86 commit ea07cbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/web-vue/components/textarea/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ description: Multi-line plain text edit control, suitable for a paragraph of opi
|auto-size|Whether to make the textarea adapt to the height of the content|`boolean \| { minRows?: number; maxRows?: number }`|`false`||
|word-length|Calculation method of word length|`(value: string) => number`|`-`||
|word-slice|Character interception method, used together with wordLength|`(value: string, maxLength: number) => string`|`-`|2.12.0|
|textarea-attrs|Attributes passed to textarea|`Record<string, any>`|`-`||
### `<textarea>` Events

|Event Name|Description|Parameters|
Expand Down
1 change: 1 addition & 0 deletions packages/web-vue/components/textarea/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ description: 多行纯文本编辑控件,适用于评论或反馈表单中的
|auto-size|是否让文本框自适应内容高度|`boolean \| { minRows?: number; maxRows?: number }`|`false`||
|word-length|字符长度的计算方法|`(value: string) => number`|`-`||
|word-slice|字符截取方法,同 wordLength 一起使用|`(value: string, maxLength: number) => string`|`-`|2.12.0|
|textarea-attrs|透传给 textarea 的属性|`Record<string, any>`|`-`||
### `<textarea>` Events

|事件名|描述|参数|
Expand Down

0 comments on commit ea07cbb

Please sign in to comment.