createMainParam_text#

图块代码

../../_images/createMainParam_text.png

javascript

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

python

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

npl

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

参数#

参数

类型

默认值

说明

name

string

“text1”

caption

string

“文本”

value

string

“”

示例#

{ type: "text", name: 'text1', caption: '文本', initial: '' },
{ "type": "text", "name": 'text1', "caption": '文本', "initial": '' },
{ type = "text", name = 'text1', caption = '文本', initial = '' },