feat(view): add support for components that use shadow dom emulation
This commit is contained in:
@ -47,6 +47,9 @@ class DOM {
|
||||
static List<Node> childNodes(el) {
|
||||
return el.childNodes;
|
||||
}
|
||||
static clearNodes(el) {
|
||||
el.nodes = [];
|
||||
}
|
||||
static appendChild(el, node) {
|
||||
el.append(node);
|
||||
}
|
||||
|
@ -40,6 +40,9 @@ export class DOM {
|
||||
static childNodes(el):NodeList {
|
||||
return el.childNodes;
|
||||
}
|
||||
static clearNodes(el) {
|
||||
el.innerHTML = "";
|
||||
}
|
||||
static appendChild(el, node) {
|
||||
el.appendChild(node);
|
||||
}
|
||||
|
Reference in New Issue
Block a user