Update features
This commit is contained in:
parent
f66f052d7e
commit
4d7d15c3c7
34 changed files with 482 additions and 238 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue