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

This commit is contained in:
maddin
2026-03-22 12:57:09 +00:00
commit 6fbd1bb3c2
142 changed files with 19826 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();
}
});
});
}