MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / dragenter

Function dragenter

frontend/src/hooks/useCardDragMove.ts:51–55  ·  view source on GitHub ↗
(e: DragEvent, id: string)

Source from the content-addressed store, hash-verified

49 };
50
51 const dragenter = (e: DragEvent, id: string) => {
52 if (!containerState.isDesignMode) return;
53 addDragClass(e.currentTarget as HTMLElement);
54 e.preventDefault();
55 };
56
57 const dragleave = (e: DragEvent, id: string) => {
58 if (!containerState.isDesignMode) return;

Callers

nothing calls this directly

Calls 1

addDragClassFunction · 0.85

Tested by

no test coverage detected