@antv/l7plot-component
Version:
Components for L7Plot
19 lines • 1.13 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RIBBON_TPL = exports.CONTAINER_TPL = exports.VALUE_RANGE_CLASS = exports.GRADIENT_BAR_CLASS = exports.RIBBON_CLASS = exports.RIBBON_CONTAINER_CLASS = exports.TITLE_CLASS = exports.CONTAINER_CLASS = void 0;
exports.CONTAINER_CLASS = 'l7plot-legend l7plot-legend__continue';
exports.TITLE_CLASS = 'l7plot-legend__title';
exports.RIBBON_CONTAINER_CLASS = 'l7plot-legend__ribbon-container';
exports.RIBBON_CLASS = 'l7plot-legend__ribbon';
exports.GRADIENT_BAR_CLASS = 'l7plot-legend__gradient-bar';
exports.VALUE_RANGE_CLASS = 'l7plot-legend__value-range';
exports.CONTAINER_TPL = `<div class="${exports.CONTAINER_CLASS}">
<div class="${exports.TITLE_CLASS}"></div>
<div class="${exports.RIBBON_CONTAINER_CLASS}"></div>
</div>`;
exports.RIBBON_TPL = `<div class="${exports.RIBBON_CLASS}">
<span class="${exports.VALUE_RANGE_CLASS}">{min}</span>
<div class="${exports.GRADIENT_BAR_CLASS}" style="background-image: {backgroundImage}"></div>
<span class="${exports.VALUE_RANGE_CLASS}">{max}</span>
</div>`;
//# sourceMappingURL=constants.js.map