createMainParam_color#

图块代码

../../_images/createMainParam_color.png

javascript

{ type: "color", name: name, caption: caption, initial: value },

python

{ "type": "color", "name": name, "caption": caption, "initial": value },

npl

{ type = "color", name = name, caption = caption, initial = value },

参数#

参数

类型

默认值

说明

name

string

“color1”

caption

string

“颜色”

value

string

“#ffc658”

示例#

{ type: "color", name: 'color1', caption: '颜色', initial: "#ffc658" },
{ "type": "color", "name": 'color1', "caption": '颜色', "initial": "#ffc658" },
{ type = "color", name = 'color1', caption = '颜色', initial = "#ffc658" },