dom-element-css
v1.0.3
Published
DOM element style manipulation function.
Downloads
124
Readme
dom-element-css
DOM element style manipulation function.
API
css(element, name, value)
Gets/sets a style.
css(element, "color", "black"); // Setter
css(element, "color"); // Getter
css(element, object)
Sets a style using an object as value.
css(element, {
color: "black",
background: "white"
});
Acknowledgement
The component team which provides a lot of solid working bases to plagiarize :-p.