TextArea (Angular)

This guide demonstrates how to use the TextArea component.

TextArea Properties

Name Type Default Description
Name string ‘textarea’ + index suffix Unique name of the TextArea.
Value string/expression null TextArea value.
Placeholder string empty TextArea placeholder.
Rows integer 2 TextArea number of rows.
Cols integer 20 TextArea number of cols.
ReadOnly boolean/expression false Is TextArea read-only.
Disabled boolean/expression false Is TextArea disabled.
Visible boolean/expression true Is TextArea visible.

For more info about expressions please visit expressions in our documentation.

TextArea Events

Name Type Default Description
Change event null Change event of the TextArea. New value as event argument.

For more info about event actions please visit event actions in our documentation.

Angular declaration

<rz-textarea #textarea0 placeholder="Enter here ..." (change)="textbox0Change($event)">