1.2.3 • Published 4 years ago
attribute-style-map v1.2.3
attribute-style-map
compatible
how to get ?
yarn add attribute-style-map
# or
npm i attribute-style-map
get started
// import package
import attributeStyleMap from "attribute-style-map";
// use attribute-style-map
var element = attributeStyleMap(document.documentElement);
// set style to element
element.attributeStyleMap.set("color", "red");
1.2.3
4 years ago