createMainParam_number#

图块代码

../../_images/createMainParam_number.png

javascript

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

python

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

npl

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

参数#

参数

类型

默认值

说明

name

string

“number1”

caption

string

“数字”

value

number

1

示例#

{ type: "number", name: 'number1', caption: '数字', initial: 1 },
{ "type": "number", "name": 'number1', "caption": '数字', "initial": 1 },
{ type = "number", name = 'number1', caption = '数字', initial = 1 },