docs(Input): update API Textarea md
parent
bbb7670df1
commit
bff486b294
|
|
@ -47,13 +47,13 @@ A basic widget for getting the user input is a text field. Keyboard and mouse ca
|
|||
|
||||
### TextArea
|
||||
|
||||
| Property | Description | Type | Default | Version | |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| allowClear | allow to remove input content with clear icon | boolean | | 1.5.0 | |
|
||||
| autosize | Height autosize feature, can be set to `true | false`or an object`{ minRows: 2, maxRows: 6 }` | boolean\|object | false | |
|
||||
| defaultValue | The initial input content | string | | | |
|
||||
| showCount | Whether show text count | boolean \| { formatter: (info: { value: string, count: number, maxLength?: number }) => string | false | | |
|
||||
| value(v-model) | The input content value | string | | | |
|
||||
| Property | Description | Type | Default | Version |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| allowClear | allow to remove input content with clear icon | boolean | | 1.5.0 |
|
||||
| autosize | Height autosize feature, can be set to `true \| false`or an object`{ minRows: 2, maxRows: 6 }` | boolean\|object | false | |
|
||||
| defaultValue | The initial input content | string | | |
|
||||
| showCount | Whether show text count | boolean \| { formatter: (info: { value: string, count: number, maxLength?: number }) => string | false | |
|
||||
| value(v-model) | The input content value | string | | |
|
||||
|
||||
### TextArea Events
|
||||
|
||||
|
|
|
|||
|
|
@ -48,13 +48,13 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*sBqqTatJ-AkAAA
|
|||
|
||||
### TextArea
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 | |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| allowClear | 可以点击清除图标删除内容 | boolean | | 1.5.0 | |
|
||||
| autosize | 自适应内容高度,可设置为 `true | false` 或对象:`{ minRows: 2, maxRows: 6 }` | boolean\|object | false | |
|
||||
| defaultValue | 输入框默认内容 | string | | | |
|
||||
_| showCount | 是否展示字数 | boolean \| { formatter: (info: { value: string, count: number, maxLength?: number }) => string } | false | | |_
|
||||
| value(v-model) | 输入框内容 | string | | | |
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| allowClear | 可以点击清除图标删除内容 | boolean | | 1.5.0 |
|
||||
| autosize | 自适应内容高度,可设置为 `true \| false` 或对象:`{ minRows: 2, maxRows: 6 }` | boolean\|object | false | |
|
||||
| defaultValue | 输入框默认内容 | string | | |
|
||||
| showCount | 是否展示字数 | boolean \| { formatter: (info: { value: string, count: number, maxLength?: number }) => string } | false | |
|
||||
| value(v-model) | 输入框内容 | string | | |
|
||||
|
||||
### TextArea 事件
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue