Assign element props
The easy and clean way to assign multiple props to an DOM element. Credit: somewere in th web.
Tags: dom, javascript