Content/easyui/plugins/jquery.layout.js
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* jQuery EasyUI 1.3.3
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(function($){
var _1=false;
function _2(_3){
var _4=$.data(_3,"layout");
var _5=_4.options;
var _6=_4.panels;
var cc=$(_3);
if(_3.tagName=="BODY"){
cc._fit();
}else{
_5.fit?cc.css(cc._fit()):cc._fit(false);
}
var _7={top:0,left:0,width:cc.width(),height:cc.height()};
function _8(pp){
if(pp.length==0){
return;
}
var _9=pp.panel("options");
var _a=Math.min(Math.max(_9.height,_9.minHeight),_9.maxHeight);
pp.panel("resize",{width:cc.width(),height:_a,left:0,top:0});
_7.top+=_a;
_7.height-=_a;
};
if(_14(_6.expandNorth)){
_8(_6.expandNorth);
}else{
_8(_6.north);
}
function _b(pp){
if(pp.length==0){
return;
}
var _c=pp.panel("options");
var _d=Math.min(Math.max(_c.height,_c.minHeight),_c.maxHeight);
pp.panel("resize",{width:cc.width(),height:_d,left:0,top:cc.height()-_d});
_7.height-=_d;
};
if(_14(_6.expandSouth)){
_b(_6.expandSouth);
}else{
_b(_6.south);
}
function _e(pp){
if(pp.length==0){
return;
}
var _f=pp.panel("options");
var _10=Math.min(Math.max(_f.width,_f.minWidth),_f.maxWidth);
pp.panel("resize",{width:_10,height:_7.height,left:cc.width()-_10,top:_7.top});
后面还有 392 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
