TextAreaComponent
Represents the Kendo UI TextArea component for Angular.
Selector
kendo-textarea
Export Name
Accessible in templates as #kendoTextAreaInstance="kendoTextArea"
Inputs
Name | Type | Default | Description |
---|---|---|---|
adornmentsOrientation |
|
Specifies the orientation of the TextArea adornments. This property is used in order to specify the adornments' position relative to themselves. The possible values are:
| |
cols |
|
Specifies the visible width of the textarea element (in average character width). | |
disabled |
|
|
Sets the disabled state of the TextArea component. To learn how to disable the component in reactive forms, refer to the article on Forms Support. |
fillMode |
|
The The possible values are:
| |
flow |
|
Specifies the flow direction of the TextArea sections. This property is useful when adornments are used, in order to specify their position in relation to the textarea element. The possible values are:
| |
inputAttributes |
|
Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed. | |
maxlength |
|
Specifies the maximum number of characters that the user can enter in the TextArea component. | |
placeholder |
|
The hint, which is displayed when the Textarea is empty. | |
readonly |
|
|
Sets the read-only state of the TextArea component. |
resizable |
|
Configures the resize behavior of the TextArea. The possible values are:
| |
rounded |
|
The The possible values are:
| |
rows |
|
Specifies the visible height of the textarea element in lines. | |
selectOnFocus |
|
|
Determines whether the whole value will be selected when the TextArea is clicked. Defaults to |
showPrefixSeparator |
|
|
Specifies whether the prefix separator of the TextArea is rendered. If a prefix template is not declared, the separator will not be rendered, regardless of the parameter value. |
showSuffixSeparator |
|
|
Specifies whether the suffix separator of the TextArea is rendered. If a suffix template is not declared, the separator will not be rendered, regardless of the parameter value. |
size |
|
The size property specifies the padding of the internal textarea element (see example). The possible values are:
| |
tabindex |
|
Specifies the tabindex of the component. | |
title |
|
Sets the | |
value |
|
Provides a value for the TextArea component. |
Fields
Name | Type | Default | Description |
---|---|---|---|
input |
|
Represents the visible textarea element of the component. |
Events
Name | Type | Description |
---|---|---|
inputBlur |
|
Fires each time the internal textarea element gets blurred. This event is useful when adornments are used, in order to distinguish between blurring the textarea element and blurring the whole TextArea component. |
inputFocus |
|
Fires each time the user focuses the internal textarea element of the component. This event is useful when you need to distinguish between focusing the textarea element and focusing one of its adornments. |
blur |
|
Fires each time the TextArea component gets blurred.
ts
|
focus |
|
Fires each time the user focuses the TextArea component.
ts
|
valueChange |
|
Fires each time the value is changed or the component is blurred (see example). When the component value is changed programmatically or via its form control binding, the valueChange event is not emitted. |
Methods
blur |
---|
Blurs the TextArea component. |
focus |
---|
Focuses the TextArea component. ts
|
updateValue | ||||||
---|---|---|---|---|---|---|
|