fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
825 B

8 years ago
/**
* 图标按钮trigger
*
* Created by GUY on 2015/10/8.
* @class BI.IconTrigger
* @extends BI.Trigger
*/
BI.IconTrigger = BI.inherit(BI.Trigger, {
_defaultConfig: function () {
return BI.extend(BI.IconTrigger.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-icon-trigger",
extraCls: "pull-down-font",
8 years ago
el: {},
7 years ago
height: 24
8 years ago
});
},
_init: function () {
var o = this.options;
BI.IconTrigger.superclass._init.apply(this, arguments);
this.iconButton = BI.createWidget(o.el, {
type: "bi.trigger_icon_button",
8 years ago
element: this,
8 years ago
width: o.width,
height: o.height,
extraCls: o.extraCls
8 years ago
});
}
});
7 years ago
BI.shortcut("bi.icon_trigger", BI.IconTrigger);