GalleryScriptParameter interface
定义一个参数,可以传递给画廊脚本版本的脚本。
属性
| enum |
一份允许的数值清单。 只有适用的值来自“GalleryScriptParameter”中定义的“enum”值。 |
| max |
参数的最小值。 |
| min |
参数的最小值。 |
| type | 指定 Gallery Script 参数的类型。 可能的值有:字符串、整数、双重、布尔值、枚举 |
继承属性
| default |
参数的默认值只适用于字符串类型。 |
| description | 帮助用户了解此参数的含义的说明 |
| name | 参数的名称。 |
| required | 表示是否必须传递该参数。 |
属性详细信息
enumValues
一份允许的数值清单。 只有适用的值来自“GalleryScriptParameter”中定义的“enum”值。
enumValues?: string[]
属性值
string[]
maxValue
参数的最小值。
maxValue?: string
属性值
string
minValue
参数的最小值。
minValue?: string
属性值
string
type
指定 Gallery Script 参数的类型。 可能的值有:字符串、整数、双重、布尔值、枚举
type?: string
属性值
string