⚡ Improves simulateSlots

This commit is contained in:
jaandrle committed 2024-12-12 15:54:03 +01:00
1 parent 2105776d2a
commit c085f268e8
14 files changed
+918 -1006

No files matched your search

@@ -4,7 +4,7 @@ const count= S(0);
import { el } from "deka-dom-el";
document.body.append(
el("p", S(()=> "Currently: "+count())),
el("p", { classList: { red: S(()=> count()%2 === 0) }, dataset: { count }, textContent: "Attributes example" })
el("p", { classList: { red: S(()=> count()%2 === 0) }, dataset: { count }, textContent: "Attributes example" }),
);
document.head.append(
el("style", ".red { color: red; }")