?? 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 + -