Hl.WebMain/LigerUI/lib/ligerUI/js/plugins/ligerPanel.js
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* jQuery ligerUI 1.2.3
*
* http://ligerui.com
*
* Author daomi 2014 [ gd_star@163.com ]
*
*/
(function ($)
{
$.fn.ligerPanel = function (options)
{
return $.ligerui.run.call(this, "ligerPanel", arguments);
};
$.ligerDefaults.Panel = {
width: 400,
height : 300,
title: 'Panel',
content: null, //内容
url: null, //远程内容Url
frameName: null, //创建iframe时 作为iframe的name和id
data: null, //可用于传递到iframe的数据
showClose: false, //是否显示关闭按钮
showToggle: true, //是否显示收缩按钮
icon: null, //左侧按钮
onClose:null, //关闭前事件
onClosed:null, //关闭事件
onLoaded:null //url模式 加载完事件
};
$.ligerMethos.Panel = {};
$.ligerui.controls.Panel = function (element, options)
{
$.ligerui.controls.Panel.base.constructor.call(this, element, options);
};
$.ligerui.controls.Panel.ligerExtend($.ligerui.core.UIComponent, {
__getType: function ()
{
return 'Panel';
},
__idPrev: function ()
{
return 'Panel';
},
_extendMethods: function ()
{
return $.ligerMethos.Panel;
},
_init: function ()
{
var g = this, p = this.options;
$.ligerui.controls.Panel.base._init.call(this);
p.content = p.content || $(g.element).html();
},
_render: function ()
{
var g = this, p = this.options;
后面还有 155 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
