Hl.WebMain/LigerUI/lib/ligerUI/js/plugins/ligerWindow.js
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* jQuery ligerUI 1.2.2
*
* http://ligerui.com
*
* Author daomi 2013 [ gd_star@163.com ]
*
*/
(function ($) {
var l = $.ligerui;
l.windowCount = 0;
$.ligerWindow = function (options) {
return l.run.call(null, "ligerWindow", arguments, { isStatic: true });
};
$.ligerWindow.show = function (p) {
return $.ligerWindow(p);
};
$.ligerDefaults.Window = {
showClose: true,
showMax: true,
showToggle: true,
showMin: true,
title: 'window',
load: false,
onLoaded: null,
onClose: null,
onRegain: null,
onMax: null,
modal: false //是否模态窗口
};
$.ligerMethos.Window = {};
l.controls.Window = function (options) {
l.controls.Window.base.constructor.call(this, null, options);
};
l.controls.Window.ligerExtend(l.core.Win, {
__getType: function () {
return 'Window';
},
__idPrev: function () {
return 'Window';
},
_extendMethods: function () {
return $.ligerMethos.Window;
},
_render: function () {
var g = this, p = this.options;
g.window = $('<div class="l-window"><div class="l-window-header"><div class="l-window-header-buttons"><div class="l-window-toggle"></div><div class="l-window-max"></div><div class="l-window-close"></div><div class="l-clear"></div></div><div class="l-window-header-inner"></div></div><div class="l-window-content"></div></div>');
g.element = g.window[0];
g.window.content = $(".l-window-content", g.window);
g.window.header = $(".l-window-header", g.window);
g.window.buttons = $(".l-window-header-buttons:first", g.window);
if (p.url) {
if (p.load) {
后面还有 242 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
