@dariocru/attribute-helper
v0.0.2
Published
Module that will assist in the setting of multiple attributes on dom elemments, with less lines of JS code.
Downloads
2
Maintainers
Readme
attribute-helper
Goal
To make adding attributes to dom elements in JS easier and achieve this with less lines of code.
Usage
setAttributes(targetElement, {"src": "http://example.com/something.jpeg", "height": "100%", ...})