diff --git a/examples/action_conform.ui b/examples/action_conform.ui new file mode 100644 index 0000000..be1d88a --- /dev/null +++ b/examples/action_conform.ui @@ -0,0 +1,22 @@ +{ + "id":"insert", + "widgettype":"Button", + "options":{ + "width":"80px", + "i18n":true, + "label":"click me" + }, + "binds":[ + { + "wid":"self", + "event":"click", + "actiontype":"script", + "conform":{ + "title":"conformtest", + "message":"测试事件处理前的用户确认功能,确认码?" + }, + "target":"self", + "script":"alert('确认过眼神!')" + } + ] +}