set classname atribute on new DomWindow

This commit is contained in:
srgooglo 2022-08-04 11:57:14 +02:00
parent 4e57d40bcb
commit 9f8f66391a

View File

@ -35,8 +35,10 @@ class DOMWindow {
}
this.element = document.createElement("div")
this.element.setAttribute("id", this.id)
this.element.setAttribute("key", this.key)
this.element.setAttribute("classname", this.props.className)
this.root.appendChild(this.element)
}