"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mergeAttr = exports.removeAllAttr = void 0;
function applyAttr(element, attr) {
    // removeAllAttr(element)
    mergeAttr(element, attr);
}
exports.default = applyAttr;
function removeAllAttr(element, attr) {
    // TODO
}
exports.removeAllAttr = removeAllAttr;
function mergeAttr(element, attr) {
    for (const name in attr) {
        const value = attr[name];
        element.setAttribute(name, value);
    }
}
exports.mergeAttr = mergeAttr;
//# sourceMappingURL=applyAttr.js.map