1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-20 21:02:10 +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

@@ -17,7 +17,7 @@ export function TodoList(el) {
el.addEventListener('sortableDrop', (e) =>
el.dispatchEvent(
new CustomEvent('moveItem', {
new CustomEvent('moveTodoItem', {
detail: {
item: e.detail.data.item,
index: e.detail.index,