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.
27 lines
550 B
27 lines
550 B
/** |
|
* guy |
|
* tip提示 |
|
* zIndex在10亿级别 |
|
* @class BI.Tip |
|
* @extends BI.Single |
|
* @abstract |
|
*/ |
|
|
|
import { Single } from "../0.single"; |
|
import { extend } from "../../../core"; |
|
export class Tip extends Single { |
|
_defaultConfig() { |
|
const conf = super._defaultConfig(...arguments); |
|
|
|
return extend(conf, { |
|
_baseCls: `${conf._baseCls || ""} bi-tip`, |
|
zIndex: BI.zIndex_tip, |
|
}); |
|
} |
|
|
|
_init() { |
|
super._init(); |
|
this.element.css({ zIndex: this.options.zIndex }); |
|
} |
|
} |
|
|
|
|