fast-text-area

An implementation of an HTML textarea element as a form-connected web-component. The fast-text-area supports two visual appearances, outline and filled, with the control defaulting to the outline appearance.

Usage

Live Editor
Result
How was your stay?

Applying custom styles

import { customElement } from "@microsoft/fast-element";
import { TextAreaTemplate as template, TextArea } from "@microsoft/fast-foundation";
import { TextAreaStyles as styles } from "./text-area.styles";
@customElement({
name: "fast-text-area",
template,
styles,
shadowOptions: {
delegatesFocus: true,
},
})
export class FASTTextArea extends TextArea {}