bricks/examples/checkbox.ui
2024-03-26 11:09:15 +08:00

30 lines
429 B
XML

{
"widgettype":"UiCheckBox",
"options":{
"name":"cb",
"multicheck":false,
"uitype":"checkbox",
"valueField":"value",
"textField":"text",
"data":[
{
"value":"test1",
"text":"Test1"
},
{
"value":"test2",
"text":"Test 2"
}
]
},
"binds":[
{
"wid":"self",
"event":"changed",
"actiontype":"script",
"target":"self",
"script":"alert(JSON.stringify(event.params))"
}
]
}