kui-shell
Version:
This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool
13 lines • 354 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeAllDomChildren = (node) => {
if (node) {
while (node.firstChild) {
node.removeChild(node.firstChild);
}
}
};
exports.element = (id, parent = document) => {
return parent.querySelector(id);
};
//# sourceMappingURL=dom.js.map