bricks/examples/script_action.ui
2024-04-19 17:13:05 +08:00

19 lines
270 B
XML

{
"id":"insert",
"widgettype":"Button",
"options":{
"width":"80px",
"i18n":true,
"label":"click me"
},
"binds":[
{
"wid":"self",
"event":"click",
"actiontype":"script",
"target":"self",
"script":"console.log(target, params, event);"
}
]
}