Skip to main content

Area API Overview

Initialization

<script>
import { Area } from "wx-svelte-core";
</script>

<!-- minimal configuration for initialization -->
<Area />
tip
  • Visit the Features Guide to learn more about the control's functionality.
  • Explore the samples to visualize the available features.

Area 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