chore: initialize public repository
CI / checks (push) Has been cancelled

This commit is contained in:
maddin
2026-03-22 12:55:55 +00:00
commit 9794362f39
143 changed files with 19832 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
export function initFlash() {
document.querySelectorAll('[data-component="flash"]').forEach((flash) => {
flash.addEventListener('click', (event) => {
const target = event.target;
if (target instanceof HTMLElement && target.dataset.action === 'flash-close') {
flash.remove();
}
});
});
}