Component
Textarea
Multi-line text, sharing the input treatment.
import { Textarea } from '@loidolt/theme-svelte';
Example
Props
Generated from the component source, so it cannot drift from the implementation.
| Prop | Type | Default | Notes |
|---|---|---|---|
boxed | boolean | false | Draws the full box instead of the default underline. |
class | string | — | |
ref bindable | HTMLTextAreaElement | null | null | |
value bindable | string | '' |
Plus the attributes of Omit<HTMLTextareaAttributes, 'value'>, forwarded to the root element.