owl-rich-table
Version:
富文本编辑表格,react组件
20 lines (18 loc) • 561 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.createCellKey = createCellKey;
exports.createRowKey = createRowKey;
/**
* row key create fn
*/
function createRowKey(y, incrementKey) {
return "row_".concat(y, ",incrementKey_").concat(incrementKey);
}
/**
* cell key create fn
*/
function createCellKey(coord, incrementKey) {
return "row_".concat(coord === null || coord === void 0 ? void 0 : coord.y, ",col_").concat(coord === null || coord === void 0 ? void 0 : coord.x, ",incrementKey_").concat(incrementKey);
}