|
|
@ -13,6 +13,7 @@ BI.Single = BI.inherit(BI.Widget, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
var conf = BI.Single.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.Single.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
|
|
|
|
el: {}, |
|
|
|
readonly: false, |
|
|
|
readonly: false, |
|
|
|
title: null, |
|
|
|
title: null, |
|
|
|
warningTitle: null, |
|
|
|
warningTitle: null, |
|
|
@ -22,6 +23,10 @@ BI.Single = BI.inherit(BI.Widget, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
|
|
|
return this.options.el; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_showToolTip: function (e, opt) { |
|
|
|
_showToolTip: function (e, opt) { |
|
|
|
opt || (opt = {}); |
|
|
|
opt || (opt = {}); |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|