12 lines
230 B
TypeScript
12 lines
230 B
TypeScript
export function allowDrop(event: DragEvent) {
|
|
event.preventDefault();
|
|
}
|
|
|
|
export function allowDrag(event: DragEvent) {
|
|
event.dataTransfer?.setData("text", "");
|
|
}
|
|
|
|
export function reload() {
|
|
window.location.reload();
|
|
}
|