UNPKG

@visactor/vtable

Version:

canvas table width high performance

20 lines (16 loc) 736 B
"use strict"; function updateContainerChildrenX(containerGroup, x) { return containerGroup.forEachChildrenSkipChild(((column, index) => { column.setAttribute("x", x), x += column.attribute.width; })), x; } function updateContainerChildrenY(containerGroup, y) { return containerGroup.forEachChildrenSkipChild(((row, index) => { row.setAttribute("y", y), y += row.attribute.height; })), y; } Object.defineProperty(exports, "__esModule", { value: !0 }), exports.updateContainerChildrenY = exports.updateContainerChildrenX = void 0, exports.updateContainerChildrenX = updateContainerChildrenX, exports.updateContainerChildrenY = updateContainerChildrenY; //# sourceMappingURL=update-container.js.map