Textarea
Displays a form textarea or a component that looks like a textarea.
Default
The standard textarea component.
textarea-example-default.ts
Disabled
The textarea can be disabled to prevent user interaction.
textarea-example-disabled.ts
With Label
Using a label to provide context for the textarea.
Your message will be sent to the support team.
textarea-example-label.ts
With Button
Combining a textarea with a submit button.
textarea-example-button.ts
Reactive Forms
Using the textarea with Angular Reactive Forms.
textarea-example-form.ts
Installation & Usage
Installation
Imports
Basic Usage
API Reference
Helm API
The Helm component provides the spartan/ui styling for the textarea.
| Directive | Selector | Description |
|---|---|---|
| HlmTextarea | [hlmTextarea] | The main directive that provides the spartan/ui styling for the textarea element. |
Brain API
Textarea is currently a styling-only component and does not have a Brain implementation.