Skip to main content

TextArea API Overview

Initialization

<script>
import { TextArea } from "wx-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

disableddefines whether an area is disabled
errordefines whether error styling is applied to an area
idsets an HTML id for an area
placeholdersets a placeholder for an area
readonlydefines whether a textarea is read-only
titlesets a tooltip text with additional info about the control
valuesets the value of an area