1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-12-15 05:43:45 +01:00

♻️ Rename listen to on

This commit is contained in:
2023-08-25 12:04:15 +02:00
parent 1fbc6a8641
commit c8bf8dccaf
3 changed files with 8 additions and 8 deletions

View File

@@ -104,6 +104,6 @@ const value= S("");
document.body.append(
el("span", { style: { fontWeight: "bold" }, textContent: value }),
el("input", { type: "text" },
listen("change", event=> value(event.target.value)))
on("change", event=> value(event.target.value)))
);
```