createMainParam_checkbox#

图块代码

../../_images/createMainParam_checkbox.png

javascript

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

python

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

npl

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

参数#

参数

类型

默认值

说明

name

string

“checkbox1”

caption

string

“复选框”

value

string

“true”

示例#

{ type: "checkbox", name: 'checkbox1', caption: '复选框', initial: true },
{ "type": "checkbox", "name": 'checkbox1', "caption": '复选框', "initial": true },
{ type = "checkbox", name = 'checkbox1', caption = '复选框', initial = true },