"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeBodyClass = exports.addBodyClass = exports.removeElement = exports.addElement = void 0;
const addElement = (id) => {
    const element = document.createElement('div');
    element.setAttribute('id', id);
    return element;
};
exports.addElement = addElement;
const removeElement = (id) => {
    var _a;
    const element = document.getElementById(id);
    (_a = element === null || element === void 0 ? void 0 : element.remove) === null || _a === void 0 ? void 0 : _a.call(element);
};
exports.removeElement = removeElement;
const addBodyClass = (className) => document.body.classList.add(className);
exports.addBodyClass = addBodyClass;
const removeBodyClass = (className) => document.body.classList.remove(className);
exports.removeBodyClass = removeBodyClass;
//# sourceMappingURL=dom.js.map