⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 block.js

📁 Visual JS 在线JS编辑器 非常的COOL 在线生成网页和JS代码 自由显示。
💻 JS
字号:
Class('App.linb_UI_Block', 'linb.Com',{    Instance:{        //base Class for linb.Com        base:["linb.UI"],         //requried class for the App        required:["linb.UI.Block", "linb.UI.Button"],         iniComponents:function(){            // [[code created by jsLinb UI Builder            var host=this, children=[], append=function(child){children.push(child.get(0))};                        append((new linb.UI.Block)                .host(host,"block3")                .setLeft(320)                .setTop(60)                .setBorder(true)                .setShadow(true)                .setHtml("shadow")                .setCustomStyle({"PANEL":"background:#ccc"})            );                        append((new linb.UI.Block)                .host(host,"block2")                .setLeft(170)                .setTop(60)                .setBorder(true)                .setHtml("border")                .setCustomStyle({"PANEL":"background:#ccc"})            );                        append((new linb.UI.Block)                .host(host,"block1")                .setLeft(50)                .setTop(60)                .setCustomStyle({"PANEL":"background:#ccc"})            );                        host.block1.append((new linb.UI.Button)                .host(host,"button21")                .setLeft(10)                .setTop(30)                .setWidth(80)                .setCaption("button21")            );                        append((new linb.UI.Block)                .host(host,"block4")                .setLeft(170)                .setTop(190)                .setBorder(true)                .setResizer(true)                .setHtml("resizer")                .setCustomStyle({"PANEL":"background:#ccc"})            );                        return children;            // ]]code created by jsLinb UI Builder        }    }});

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -