v1.2.0
Added id
and class
shorthand options to the createElement
constructor.
createElement("div", {id: "id", class: "foo bar"})
The class
shorthand sets element.className
to the given value:
https://developer.mozilla.org/en-US/docs/Web/API/Element/className