Textarea
A multi-line text input.
Code
<script lang="ts">
import { TextArea } from '@geoffcox/sterling-svelte';
let value : string = '';
</script>
<TextArea bind:value resize="none" />
Members
| Property Name | Type | Default | Comment |
---|
| autoHeight | boolean | null | undefined | false |
| resize | TextAreaResize | undefined | 'none' |
Types
| Type Name | Definition | Comment |
---|
| TextAreaResize | 'none' | 'horizontal' | 'vertical' | 'both' |
Considerations
- Includes HTMLTextAreaElement props, events, and methods.
Anatomy
text area container (<div>)
text area (<textarea>)