bucket cards management
All checks were successful
Deploy App / build (push) Successful in 3m57s
Deploy App / deploy (push) Successful in 17s

This commit is contained in:
valere
2025-12-31 17:23:11 +01:00
parent 9001025837
commit a5fe876e3f
4 changed files with 94 additions and 38 deletions

View File

@@ -60,6 +60,8 @@ onMounted(() => {
// Gestion du drag and drop desktop
const handleDragStart = (event: { item: HTMLElement }) => {
drag.value = true
// Émettre un événement personnalisé pour indiquer qu'un glisser a commencé depuis le bucket
document.dispatchEvent(new CustomEvent('bucket-drag-start'))
}
const handleDragEnd = (event: { item: HTMLElement; newIndex: number; oldIndex: number }) => {