UNPKG

cione-comp-lib

Version:

`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`

57 lines (56 loc) 1.45 kB
import { __extends } from "../../../../tslib/tslib.es6.mjs"; import ComponentModel from "../../model/Component.mjs"; var TooltipModel = function(_super) { __extends(TooltipModel2, _super); function TooltipModel2() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.type = TooltipModel2.type; return _this; } TooltipModel2.type = "tooltip"; TooltipModel2.dependencies = ["axisPointer"]; TooltipModel2.defaultOption = { z: 60, show: true, showContent: true, trigger: "item", triggerOn: "mousemove|click", alwaysShowContent: false, displayMode: "single", renderMode: "auto", confine: null, showDelay: 0, hideDelay: 100, transitionDuration: 0.4, enterable: false, backgroundColor: "#fff", shadowBlur: 10, shadowColor: "rgba(0, 0, 0, .2)", shadowOffsetX: 1, shadowOffsetY: 2, borderRadius: 4, borderWidth: 1, padding: null, extraCssText: "", axisPointer: { type: "line", axis: "auto", animation: "auto", animationDurationUpdate: 200, animationEasingUpdate: "exponentialOut", crossStyle: { color: "#999", width: 1, type: "dashed", textStyle: {} } }, textStyle: { color: "#666", fontSize: 14 } }; return TooltipModel2; }(ComponentModel); var TooltipModel$1 = TooltipModel; export { TooltipModel$1 as default };