* @cfg {string} dataId cutomer id
* @cfg {string} name Specifies name attribute
* @cfg {string} tooltip Text for the tooltip
+ * @cfg {string} tooltipClass Class for the tooltip element
* @cfg {string} container_method method to fetch parents container element (used by NavHeaderbar - getHeaderChildContainer)
* @cfg {string|object} visibilityEl (el|parent) What element to use for visibility (@see getVisibilityEl())
autoCreate : false,
tooltip : null,
+
+ tooltipClass : null,
/**
* Initialize Events for the element
*/
if (this.tooltip) {
this.tooltipEl().attr('tooltip', this.tooltip);
}
+
+ if (this.tooltipClass) {
+ this.tooltipEl().attr('tooltip-class', this.tooltipClass);
+ }
if(this.tabIndex !== undefined){
this.el.dom.setAttribute('tabIndex', this.tabIndex);
this.el.removeClass(['fade','top','bottom', 'left', 'right','in',
'bs-tooltip-top','bs-tooltip-bottom', 'bs-tooltip-left', 'bs-tooltip-right']);
+
+ this.el.addClass(this.bindEl.attr('tooltip-class'));
var placement = typeof this.placement == 'function' ?
this.placement.call(this, this.el, on_el) :