You can configure a percentage control. However, we recommend that you use a slider instead.

Configuration description

FieldDescriptionData typeRequired?Remarks
nameThe name of the control.stringYesNone.
typeThe type of the control.stringYesNone.
defaultThe default value.numberNoIf this field is not specified, the default value is 0. The maximum value is 100, and the minimum value is 0. The step is 1.

Value description

ConditionData typeExampleDefault value
Nonenumber200

Configuration examples

Configuration example of a percentage control
"percent": {
  "name": "Percentage",
  "type": "percent",
  "default": 20
}