📄 igf_tab.js
字号:
// (c) 2007 Infragistics - Do NOT modify the content of this file
// Version 8.1.20081.1004
if(ig){if(!ig.tab){function IgWebTabPackage(){this.TYPE_TABVIEW="TabView";this.TYPE_TABITEM="TabItem";this.init=function(){ig.factory.addClass(ig.tab.TYPE_TABVIEW,IgTabView);ig.factory.addClass(ig.tab.TYPE_TABITEM,IgTabItem);};};ig.tab=new IgWebTabPackage();function IgTabView(e){this.IgUIComponent(e);};ig.augment(IgTabView,IgUIComponent);function IgTabItem(e){this.IgUIElement(e);};IgTabItem.prototype.applyClass=function(){var css=this.getDefaultClass();var cssLeft="igTabItemLeft";var cssRight="igTabItemRight";if(!this.isEnabled()){css=this.getDisabledClass();cssLeft="igTabItemDisabledLeft";cssRight="igTabItemDisabledRight";}
else{if(this.isSelected()){return;}
else{if(this.isHovered()){css=this.getHoverClass();cssLeft="igTabItemHoverLeft";cssRight="igTabItemHoverRight";}}}
if(this.elm.className!=cssRight){this.elm.className=cssRight;}
var leftTab=this.elm.previousSibling;var tabItem=this.elm.firstChild;if(leftTab.className!=cssLeft){leftTab.className=cssLeft;}
if(tabItem.className!=css){tabItem.className=css;}};IgTabItem.prototype.isSelected=function(){return this.getAttribute("oselected")=="true";};ig.augment(IgTabItem,IgUIElement);ig.tab.init();}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -