igf_bar.js

来自「一个JSF的商业组件的DEMO,infragistics-netadvantag」· JavaScript 代码 · 共 9 行

JS
9
字号
// (c) 2007 Infragistics - Do NOT modify the content of this file
// Version 8.1.20081.1004

if(ig){if(!ig.bar){function IgWebBarPackage(){this.TYPE_STACKBAR="Stackbar";this.TYPE_STACKBARGROUP="StackbarGroup";this.TYPE_SIDEBAR="Sidebar";this.TYPE_SIDEBARGROUP="SidebarGroup";this.init=function(){ig.factory.addClass(ig.bar.TYPE_STACKBAR,IgStackbar);ig.factory.addClass(ig.bar.TYPE_STACKBARGROUP,IgStackbarGroup);ig.factory.addClass(ig.bar.TYPE_SIDEBAR,IgSidebar);ig.factory.addClass(ig.bar.TYPE_SIDEBARGROUP,IgSidebarGroup);};this.getStackbar=function(domNode){return ig.getTargetUIElement(domNode,this.TYPE_STACKBAR);};this.getSidebar=function(domNode){return ig.getTargetUIElement(domNode,this.TYPE_SIDEBAR);};}
ig.bar=new IgWebBarPackage();function IgStackbar(e){this.IgUIComponent(e);}
ig.augment(IgStackbar,IgUIComponent);function IgStackbarGroup(e){this.IgHeaderLink(e);}
IgStackbarGroup.prototype.collapse=function(){this.callSuper("IgHeaderLink","collapse");this.queueEvent(this.getId(),"expand","false");};IgStackbarGroup.prototype.expand=function(){this.callSuper("IgHeaderLink","expand");this.queueEvent(this.getId(),"expand","true");};IgStackbarGroup.prototype.getParentType=function(){return"Stackbar";};ig.augment(IgStackbarGroup,IgHeaderLink);function IgSidebar(e){this.IgUIComponent(e);}
ig.augment(IgSidebar,IgUIComponent);function IgSidebarGroup(e){this.IgHeaderLink(e);}
IgSidebarGroup.prototype.collapse=function(){this.callSuper("IgHeaderLink","collapse");this.queueEvent(this.getId(),"expand","false");};IgSidebarGroup.prototype.expand=function(){this.callSuper("IgHeaderLink","expand");this.queueEvent(this.getId(),"expand","true");};IgSidebarGroup.prototype.getParentType=function(){return"Sidebar";};ig.augment(IgSidebarGroup,IgHeaderLink);ig.bar.init();}}

⌨️ 快捷键说明

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