1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-20 12:51:43 +02:00

add date picker, refactor event names, cleanups

This commit is contained in:
Morris Brodersen
2022-05-10 12:47:17 +02:00
parent 45e0f3899d
commit 77238353f9
18 changed files with 334 additions and 60 deletions

View File

@@ -48,7 +48,7 @@ export function TodoItemInput(el) {
inputEl.value = '';
el.dispatchEvent(
new CustomEvent('addItem', {
new CustomEvent('addTodoItem', {
detail: { label },
bubbles: true,
})