Update features

This commit is contained in:
schmelczerandras 2020-11-18 23:31:26 +01:00
parent f66f052d7e
commit 4d7d15c3c7
34 changed files with 482 additions and 238 deletions

View file

@ -44,6 +44,11 @@ export abstract class PageElement extends EventHandler implements EventBroadcast
this.children.push(element);
}
protected attachElementAsChildOf(query: string, element: PageElement) {
this.query(query).appendChild(element.htmlRoot);
this.children.push(element);
}
protected attachElement(element: PageElement) {
this.htmlRoot.appendChild(element.htmlRoot);
this.children.push(element);