mirror of
https://github.com/jaandrle/deka-dom-el
synced 2025-12-13 04:56:27 +01:00
⚡ Refact docs and examples (linting) (#22)
This commit is contained in:
@@ -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