cb.js
来自「axjx工具代码给大家交流」· JavaScript 代码 · 共 33 行
JS
33 行
Class('App.tech_UI_cb', 'linb.Com',{ Instance:{ _button21_onclick:function (profile, e, value) { linb.message('click fired in normal onclick event') }, iniComponents:function(){ // [[code created by jsLinb UI Builder var host=this, children=[], append=function(child){children.push(child.get(0))}; append((new linb.UI.Button) .host(host,"button21") .setLeft(110) .setTop(100) .setCaption("button21") .onClick("_button21_onclick") ); append((new linb.UI.Button) .host(host,"button24") .setLeft(270) .setTop(100) .setCaption("button21") .onClick("_button21_onclick") .setCustomBehavior({"onClick":function () { linb.message("click fired in Custom Behaviors"); }}) ); return children; // ]]code created by jsLinb UI Builder } }});
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?