TextArea API Overview
Initialization
<script>
import { TextArea } from "@svar-ui/svelte-core";
</script>
<!-- minimal configuration for initialization -->
<TextArea />
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
TextArea Properties
| disabled | Optional. Defines whether an area is disabled |
| error | Optional. Defines whether error styling is applied to an area |
| id | Optional. Sets an HTML id for an area |
| placeholder | Optional. Sets a placeholder for an area |
| readonly | Optional. Defines whether a textarea is read-only |
| title | Optional. Sets a tooltip text with additional info about the control |
| value | Optional. Sets the value of an area |
TextArea Events
| change | Fires on change of the value in textarea |