Files
CT/src/View/utility.ts
T

7 lines
164 B
TypeScript
Raw Normal View History

2024-07-25 16:20:43 +02:00
export function allowDrop(event: DragEvent) {
event.preventDefault();
}
2024-07-25 18:16:29 +02:00
export function allowDrag(event: DragEvent) {
event.dataTransfer?.setData("text", "")
}