Skip to content

Events and Handlers

The Textarea component has the following events and handlers available for use:

Events

Event
Description
On Change Event
Triggers when the component's state value changes.
On Focus Event
Triggers when the component receives the focus for data entry or by pressing the TAB key.
On Lost Focus Event
Triggers when the component loses focus.
On Visibility Change
Gets activated when the visibility state of the component is altered. You can use this event to define actions that need to take place when the component becomes visible or hidden.

Handlers

Handler
Description
Class List Logic
This logic involves modifying the CSS classes associated with the component dynamically.
Styles Logic
Allows you to change the styles of the component dynamically.
Visibility Logic
Allows controlling the visibility of the component based on certain conditions. You can use this event to show or hide the component depending on user actions or other factors. If the handler returns true, the component will be visible.
Label Logic
Determines the value of the Textarea label. The value returned by the event handler will be used as the button label.
Max Length Logic
Determines the maximum length of the text which the component should accomodate. Numeric value retruned by the component will be set as the max length.
Value Logic
Determines the content of the Textarea component. Value returned by the handler becomes the content rendered by the component.
Placeholder Logic
Determines the placeholder for the component. Value returned by the handler will be used as the placeholder.
Read Only State Logic
Determines if the component should be read-only. When the handler returns true, the component becomes read-only.
Disabled State Logic
Determines if the component should be disabled. If the handler returns true, the component will be disabled.
Required State Logic
Using this handler you can dynamically configure the component as required. A required component prevents form submission until it has a value.