bricks/examples/script_action.ui

19 lines
270 B
Plaintext
Raw Normal View History

2024-04-19 17:13:05 +08:00
{
"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);"
}
]
}