1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-22 13:43:06 +02:00

update deps

This commit is contained in:
Morris Brodersen
2023-11-13 20:03:04 +01:00
parent 9d1c3b7b8f
commit 5518d5ec37
37 changed files with 802 additions and 2945 deletions

View File

@@ -29,19 +29,19 @@ export function TodoFrameCustom(el) {
el.querySelector('.back').addEventListener('click', () =>
el.dispatchEvent(
new CustomEvent('seekCustomTodoLists', { detail: -1, bubbles: true })
)
new CustomEvent('seekCustomTodoLists', { detail: -1, bubbles: true }),
),
);
el.querySelector('.forward').addEventListener('click', () =>
el.dispatchEvent(
new CustomEvent('seekCustomTodoLists', { detail: 1, bubbles: true })
)
new CustomEvent('seekCustomTodoLists', { detail: 1, bubbles: true }),
),
);
el.querySelector('.add').addEventListener('click', () => {
el.dispatchEvent(
new CustomEvent('addTodoList', { detail: {}, bubbles: true })
new CustomEvent('addTodoList', { detail: {}, bubbles: true }),
);
// TODO seek if not at end
});
@@ -56,7 +56,7 @@ export function TodoFrameCustom(el) {
index: e.detail.index,
},
bubbles: true,
})
}),
);
});