Closed willeastcott closed 1 year ago
Currently, the Element constructor takes 2 arguments:
Element
document.createElement
dom
The Element constructor signature differs from all of its subclasses in having this first element. I propose we:
div
Currently, the
Element
constructor takes 2 arguments:document.createElement
).dom
property to be set which duplicates what can be specified by the first argument.The
Element
constructor signature differs from all of its subclasses in having this first element. I propose we:dom
property of the options object (which defaults todiv
if not specified).