0.0.2 • Published 1 year ago
@dariocru/attribute-helper v0.0.2
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%", ...})