📄 test1.js
字号:
Class('App.Test1', 'linb.Com',{
Instance:{
showDlg:function(){
if(this.properties.dlgCaption)
this.dlg.setCaption(this.properties.dlgCaption);
this.dlg.show();
},
events:{
beforeCreated : function(com){
},
onReady : function(com){
}
},
iniComponents:function(){
// [[code created by jsLinb UI Builder
var t=this, n=[], u=linb.UI, f=function(c){n.push(c.get(0))};
f(
(new u.Dialog)
.host(t,"dlg")
.setCaption("From 'App.Test1; class!")
.setTop(100)
.setLeft(100)
);
return n;
// ]]code created by jsLinb UI Builder
}
}
});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -