ant-design-vue/types/input/textarea.d.ts

32 lines
819 B
TypeScript
Raw Normal View History

// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: akki-jat <https://github.com/akki-jat>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
2019-01-12 03:33:27 +00:00
import { AntdComponent } from '../component';
export declare class TextArea extends AntdComponent {
/**
* Height autosize feature, can be set to true|false or an object { minRows: 2, maxRows: 6 }
* @default false
* @type boolean | object
*/
autoSize?: boolean | { minRows: number; maxRows: number };
/**
* The initial input content
* @type string | number
*/
2020-08-19 13:01:12 +00:00
defaultValue?: string | number;
/**
* The input content value
* @type string | number
*/
2020-08-19 13:01:12 +00:00
value?: string | number;
/**
*allow to remove input content with clear icon (1.5.0)
* @type boolean
*/
allowClear?: boolean
}