Skip to content

Range

range

Description

Numeric range; displays to the user as a range slider.

Attributes

  • minimum
  • maximum
  • multipleOf: display increment within an slider by default 1
  • $capture.markFormat: "0,0" or other number format
  • $capture.marks: true | false, show tick marks on the line
  • $capture.markLabel: "auto"|"on"|"off", show label bubble
  • default
  • enum: used for labels but will only show first and last

Example

{
  "type": "string",
  "title": "Tree pose - left leg, eyes closed (seconds)",
  "$capture": {
    "as": "range"
  },
  "$display": {},
  "maximum": 120,
  "$template": "{time:seconds}"
}