跳转至主要内容
CloudStudio

端点 range

The endpoint range object allows indicating an acceptable range of values for an endpoint.

属性

lowestValue (double) The lowestValue property indicates the minimum acceptable value for the endpoint. If this property is omitted or specified with a null value, it is assumed that t此处 is no minimum value.

示例

此示例 shows how to build a range object that has a minimum value of 18 and a maximum of 200.

var myRange = { lowestValue: 18, highestValue: 200 };

highestValue (double) The highestValue property indicates the maximum acceptable value for the endpoint. If this property is omitted or specified with a null value, it is assumed that t此处 is no maximum value.

示例

此示例 shows how to build a range object that has a minimum value of 18 and a maximum of 200.

var myRange = { lowestValue: 18, highestValue: 200 };

最后更新于

本页内容