pagebar.js
来自「国内开发的javascript框架应用。龙博javascript。」· JavaScript 代码 · 共 81 行
JS
81 行
Class('App.linb_UI_PageBar', 'linb.Com',{ Instance:{ //base Class for linb.Com base:["linb.UI"], //requried class for the App //"linb.Tips","linb.UI.Resizer","linb.UI.Border","linb.UI.Shadow" required:["linb.UI.PageBar","linb.UI.Pane"], iniComponents:function(){ // [[code created by jsLinb UI Builder var host = this, children = [], append = function(child){ children.push(child.get(0)) }; append((new linb.UI.Pane) .host(host,"panel9") .setLeft(20) .setTop(20) .setWidth(460) .setHeight(330) ); host.panel9.append((new linb.UI.PageBar) .host(host,"pagebar4") .setValue("1:300:300") .setLeft(24) .setTop(170) .setWidth(330) .setHeight(23) .setTabindex("5") .setCaption("To : ") .setTextTpl("[*]") .onClick("_pagebar1_onclick") ); host.panel9.append((new linb.UI.PageBar) .host(host,"pagebar3") .setValue("1:6:20") .setLeft(24) .setTop(90) .setWidth(330) .setHeight(23) .setTabindex("5") .setTextTpl("p *") .onClick("_pagebar1_onclick") ); host.panel9.append((new linb.UI.PageBar) .host(host,"pagebar1") .setValue("1:3:32383") .setLeft(24) .setTop(15) .setWidth(330) .setHeight(23) .setTabindex("5") .onClick("_pagebar1_onclick") ); host.panel9.append((new linb.UI.PageBar) .host(host,"pagebar5") .setValue("1:300:600") .setLeft(24) .setTop(250) .setWidth(330) .setHeight(23) .setTabindex("5") .setPrevMark("previous") .setNextMark("next") .onClick("_pagebar1_onclick") ); return children; // ]]code created by jsLinb UI Builder }, _pagebar1_onclick:function (profile, page) { profile.boxing().setPage(page); } }});
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?