Published
Edited
May 20, 2019
6 forks
66 stars
Insert cell
Insert cell
colorView = html`<input type="color" value="#ff0000">`
Insert cell
colorValue = Generators.input(colorView)
Insert cell
Insert cell
html`The current color is <span style="color:${colorValue}">${colorValue}</span>.`
Insert cell
html`The color input is a ${colorView.constructor.name}.`
Insert cell
Insert cell
viewof color = html`<input type="color" value="#0000ff">`
Insert cell
Insert cell
html`The current color is <span style="color:${color}">${color}</span>.`
Insert cell
html`The color input is a ${viewof color.constructor.name}.`
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more