Range

Allows you to display input controls for your widget.


Widget Configuration Output

{
"lineWidth": 100
}

Note

Units are not currently stored in the widget configuration.


User Interface Output

output


JSON Schema

PropertyTypeDescriptionExample
typestringThe type of setting component to display.”range”
labelstringThe user friendly message to inform the user how this setting will be used.”Line width”
idstringThe variable name where the setting value will be available in the widget template.”lineWidth”
defaultintegerThe default value to use when rendering the widget for the first time.100
typeMetaobjectAdditional information needed based on the selected setting type.
typeMeta.rangeValuesobject
typeMeta.rangeValues.minintegerMinimum value in the range.0
typeMeta.rangeValues.maxintegerMaximum value in the range.100
typeMeta.rangeValues.stepintegerIncrementation of the range values.1
typeMeta.rangeValues.unitstringUnit of the range values.”%”