mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
set classname
atribute on new DomWindow
This commit is contained in:
parent
4e57d40bcb
commit
9f8f66391a
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user