// The callback. We pass `template` through to Inputs.form(), but could also
// define our own template instead. See "Callback context" in the documentation.
({template})=>Inputs.form(
{
someText:Inputs.text({label:"Text"}),
someNumber:Inputs.range([0,1],{label:"Number"})
},
{template}
),
// Options. Here we override the label of the reset button.
{resetLabel:"Revert"}
)
values
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.