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:
@@ -48,7 +48,7 @@ export function TodoItemInput(el) {
|
||||
inputEl.value = '';
|
||||
|
||||
el.dispatchEvent(
|
||||
new CustomEvent('addItem', {
|
||||
new CustomEvent('addTodoItem', {
|
||||
detail: { label },
|
||||
bubbles: true,
|
||||
})
|
||||
|
Reference in New Issue
Block a user