(e: DragEvent, myId: string)
| 68 | }; |
| 69 | |
| 70 | const drop = (e: DragEvent, myId: string) => { |
| 71 | if (!containerState.isDesignMode) return; |
| 72 | e.preventDefault(); |
| 73 | removeDragClass(e.target as HTMLElement); |
| 74 | const sourceConfig = JSON.parse(e?.dataTransfer?.getData("text/plain") || "{}"); |
| 75 | const sourceId = sourceConfig?.id; |
| 76 | moveCardItem(sourceId, myId); |
| 77 | }; |
| 78 | |
| 79 | const dropToNewArea = (e: DragEvent, followId: string) => { |
| 80 | if (!containerState.isDesignMode) return; |
nothing calls this directly
no test coverage detected