observable-framework-input-textarea
Input: Textarea
Observable Framework documentation: Input: Textarea Source: https://observablehq.com/framework/input-textarea
API · Source · The textarea input allows freeform multi-line text entry. For a single line, see the text input.
In its most basic form, a textarea is a blank box whose value is the empty string. The textarea’s value changes as the user types into the box.
const text = view(Inputs.textarea());
text
We recommend providing a label and placeholder to improve usability. You can also supply an initial value if desired. The label may be either a text string or an HTML element, if more control over styling is desired.
More from spqw/skill-observable-framework
observable-framework-lib-deckgl
Using Deck.gl in Observable Framework for large-scale geospatial data visualization.
11observable-framework-lib-mapbox-gl
Using Mapbox GL JS in Observable Framework for vector tile maps.
4observable-framework-jsx
Using JSX (React components) in Observable Framework pages.
3observable-framework-embeds
How to embed Observable Framework pages and components into other websites.
3observable-framework-input-range
Range slider input component in Observable Framework — select a numeric value.
3observable-framework-lib-tex
Using TeX/LaTeX in Observable Framework for mathematical typesetting.
3