name |
The name of the control. |
string |
Yes |
None. |
type |
The type of the control. |
string |
Yes |
None. |
default |
The default value. |
number |
No |
If this field is not specified, the default value is 16 . |
min |
The minimum value. |
number |
No |
You can configure a minimum value in the min , range[0] , or range.min field. If you do not configure any of the three fields, the control type changes to text, and the program execution may encounter errors. |
max |
The maximum value. |
number |
No |
You can configure a maximum value in the max , range[1] , or range.max field. If you do not configure any of the three fields, the control type changes to text, and the program execution may encounter errors. |
range |
The value range. |
array or object |
No |
You can configure the range field to display a slider bar. The value of the range field can be an array or object, such as [10, 55] or {min: 10, max: 55} . If none of the range, min , and max fields are specified, the control type changes to text, and the program execution may encounter errors. |