1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-01 20:32:13 +02:00

🐛 Try to make undefined more inuitive…

…(as it is ‘template lang’ not only `assign`)
This commit is contained in:
2023-09-13 13:02:17 +02:00
parent a7b3ea633b
commit 5436e50a95
7 changed files with 38 additions and 7 deletions

View File

@ -12,7 +12,12 @@
<script type="module">
import { el } from "../index.js";
document.body.append(
el("p", { textContent: "Ahoj", style: { color: "green" } })
el("input", { type: "checkbox", name: "name", checked: true, id: undefined }),
el("p", { textContent: "Ahoj", style: { color: "green" } }),
el("select", { value: "a" }).append(
el("option", { value: "a", textContent: "A" }),
el("option", { value: "b", textContent: "B" })
)
);
</script>
</head>