TextArea Directive Overview
The TextArea directive provides options for styling and auto-resizing textarea
elements.
Please note that the
TextArea
directive should be applied only for styling purposes. For fully functional textareas, check the TextArea Component.
The following example demonstrates the TextArea directive in action.
Auto-Resizing
To automatically adjust the height of a TextArea as the user types, set its autoSize
property to true
.
The auto-resizing functionality also works when the TextArea is bound to a component property that is dynamically updated.