devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
68 lines (65 loc) • 2.06 kB
TypeScript
/**
* DevExtreme (ui/text_area.d.ts)
* Version: 19.2.6
* Build date: Thu Jan 30 2020
*
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import dxTextBox, {
dxTextBoxOptions
} from './text_box';
/** Warning! This type is used for internal purposes. Do not import it directly. */
export interface dxTextAreaOptions extends dxTextBoxOptions<dxTextArea> {
/**
* @docid dxTextAreaOptions.autoResizeEnabled
* @type boolean
* @default false
* @prevFileNamespace DevExpress.ui
* @public
*/
autoResizeEnabled?: boolean;
/**
* @docid dxTextAreaOptions.maxHeight
* @type numeric|string
* @default undefined
* @prevFileNamespace DevExpress.ui
* @public
*/
maxHeight?: number | string;
/**
* @docid dxTextAreaOptions.minHeight
* @type numeric|string
* @default undefined
* @prevFileNamespace DevExpress.ui
* @public
*/
minHeight?: number | string;
/**
* @docid dxTextAreaOptions.spellcheck
* @type boolean
* @default true
* @prevFileNamespace DevExpress.ui
* @public
*/
spellcheck?: boolean;
}
/** The TextArea is a widget that enables a user to enter and edit a multi-line text. */
export default class dxTextArea extends dxTextBox {
constructor(element: Element, options?: dxTextAreaOptions)
constructor(element: JQuery, options?: dxTextAreaOptions)
}
declare global {
interface JQuery {
dxTextArea(): JQuery;
dxTextArea(options: "instance"): dxTextArea;
dxTextArea(options: string): any;
dxTextArea(options: string, ...params: any[]): any;
dxTextArea(options: dxTextAreaOptions): JQuery;
}
}
/** Warning! This type is used for internal purposes. Do not import it directly. */
export type Options = dxTextAreaOptions;
/** @deprecated use Options instead */
/** Warning! This type is used for internal purposes. Do not import it directly. */
export type IOptions = dxTextAreaOptions;