@revolist/revogrid
Version:
Virtual reactive data grid spreadsheet component - RevoGrid.
20 lines (16 loc) • 590 B
JavaScript
/*!
* Built by Revolist OU ❤️
*/
;
const dimension_helpers = require('./dimension.helpers-29797371.js');
// is edit input
function isEditInput(el) {
return !!(el === null || el === void 0 ? void 0 : el.closest(`.${dimension_helpers.EDIT_INPUT_WR}`));
}
// Type guard for EditorCtrConstructible
function isEditorCtrConstructible(editor) {
return typeof editor === 'function' && typeof editor.prototype === 'object';
}
exports.isEditInput = isEditInput;
exports.isEditorCtrConstructible = isEditorCtrConstructible;
//# sourceMappingURL=edit.utils-70c04b70.js.map