forgeplus-react/node_modules/dom-helpers/style/removeStyle.js

10 lines
255 B
JavaScript

"use strict";
exports.__esModule = true;
exports.default = removeStyle;
function removeStyle(node, key) {
return 'removeProperty' in node.style ? node.style.removeProperty(key) : node.style.removeAttribute(key);
}
module.exports = exports["default"];