mirror of
https://github.com/jaandrle/deka-dom-el
synced 2026-11-16 17:10:13 +01:00
🐛 ⚡ Updated types and removed empty
This commit is contained in:
9 files changed
+486
-395
No files matched your search
@@ -1,4 +1,6 @@
|
||||
import { el, empty, on } from "deka-dom-el";
|
||||
import { el, on } from "deka-dom-el";
|
||||
/** @param {HTMLElement} el */
|
||||
const empty= el=> Array.from(el.children).forEach(c=> c.remove());
|
||||
document.body.append(
|
||||
el(component),
|
||||
el("button", {
|
||||
|
||||
Reference in new issue
Block a user