OA.WEB/Content/lib/ligerUI/js/plugins/ligerComboBox.js
(开头部分) 36KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* jQuery ligerUI 1.1.9
*
* http://ligerui.com
*
* Author daomi 2012 [ gd_star@163.com ]
*
*/
(function ($)
{
$.fn.ligerComboBox = function (options)
{
return $.ligerui.run.call(this, "ligerComboBox", arguments);
};
$.fn.ligerGetComboBoxManager = function ()
{
return $.ligerui.run.call(this, "ligerGetComboBoxManager", arguments);
};
$.ligerDefaults.ComboBox = {
resize: true, //是否调整大小
isMultiSelect: false, //是否多选
isShowCheckBox: false, //是否选择复选框
columns: false, //表格状态
selectBoxWidth: false, //宽度
selectBoxHeight: false, //高度
onBeforeSelect: false, //选择前事件
onSelected: null, //选择值事件
initValue: null,
initText: null,
valueField: 'id',
textField: 'text',
valueFieldID: null,
slide: true, //是否以动画的形式显示
split: ";",
data: null,
tree: null, //下拉框以树的形式显示,tree的参数跟LigerTree的参数一致
treeLeafOnly: true, //是否只选择叶子
grid: null, //表格
onStartResize: null,
onEndResize: null,
hideOnLoseFocus: true,
url: null, //数据源URL(需返回JSON)
onSuccess: null,
onError: null,
onBeforeOpen: null, //打开下拉框前事件,可以通过return false来阻止继续操作,利用这个参数可以用来调用其他函数,比如打开一个新窗口来选择值
render: null, //文本框显示html函数
absolute: true //选择框是否在附加到body,并绝对定位
};
//扩展方法
$.ligerMethos.ComboBox = $.ligerMethos.ComboBox || {};
$.ligerui.controls.ComboBox = function (element, options)
{
$.ligerui.controls.ComboBox.base.constructor.call(this, element, options);
};
后面还有 921 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。