UNPKG

@antv/g6

Version:

A Graph Visualization Framework in JavaScript

14 lines 501 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getZIndexOf = getZIndexOf; /** * <zh/> 获取元素的 zIndex * <en/> Get the zIndex of the element * @param datum - <zh/> 元素数据 | <en/> element data * @returns - <zh/> zIndex | <en/> zIndex */ function getZIndexOf(datum) { var _a; return ((_a = datum === null || datum === void 0 ? void 0 : datum.style) === null || _a === void 0 ? void 0 : _a.zIndex) || 0; } //# sourceMappingURL=z-index.js.map