1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2026-01-11 16:26:28 +01:00

SVGElement (.apend), attrs handling in assing

This commit is contained in:
2023-09-21 16:25:36 +02:00
parent d20e2041f6
commit eb68fff211
3 changed files with 15 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
[ HTMLElement, DocumentFragment ].forEach(c=> {
[ HTMLElement, SVGElement, DocumentFragment ].forEach(c=> {
const { append }= c.prototype;
c.prototype.append= function(...els){ append.apply(this, els); return this; };
});