mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-28 03:24:43 +08:00
Make elements default constructible, testing wip
This commit is contained in:
@@ -16,16 +16,8 @@ export default class IDraggableControlElement extends IDraggableElement {
|
||||
/** @type {WindowElement} */
|
||||
windowElement
|
||||
|
||||
/**
|
||||
* @param {T} entity
|
||||
* @param {U} template
|
||||
*/
|
||||
constructor(entity, template) {
|
||||
super(entity, template)
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback()
|
||||
setup() {
|
||||
super.setup()
|
||||
this.windowElement = this.closest("ueb-window")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user