UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering

15 lines 499 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.opacity = void 0; const common_1 = require("../../common"); const config_1 = require("../../config"); const className = config_1.Config.prefix('highlight-opacity'); exports.opacity = { highlight(cellView, magnet) { common_1.Dom.addClass(magnet, className); }, unhighlight(cellView, magnetEl) { common_1.Dom.removeClass(magnetEl, className); }, }; //# sourceMappingURL=opacity.js.map