observable-framework-input-range
Input: Range
Observable Framework documentation: Input: Range Source: https://observablehq.com/framework/input-range
API · Source · The range input specifies a number between the given min and max (inclusive). This number can be adjusted roughly by sliding, or precisely by typing. A range input is also known as a slider.
By default, a range chooses a floating point number between 0 and 1 with full precision, which is often more precision than desired.
const x = view(Inputs.range());
x
The step option is strongly encouraged to set the desired precision (the interval between adjacent values). For integers, use step = 1. The up and down buttons in the number input will only work if a step is specified. To change the extent, pass [min, max] as the first argument.
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-lib-tex
Using TeX/LaTeX in Observable Framework for mathematical typesetting.
3observable-framework-input-date
Date picker input component in Observable Framework.
3