1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-01 12:22:15 +02:00

v0.7.1 (dispatchEvent, docs)

This commit is contained in:
2023-11-21 17:19:59 +01:00
parent ae0455f913
commit 96c84227e9
19 changed files with 227 additions and 80 deletions

View File

@ -67,7 +67,7 @@ function todoComponent({ textContent, value }){
const value= Number(event.target.value);
event.preventDefault();
event.stopPropagation();
dispatchEvent(host(), "remove", value);
dispatchEvent("remove")(host(), value);
});
const is_editable= S(false);
const onedited= on("change", ev=> {