(e: DragEvent, id: string)
| 55 | }; |
| 56 | |
| 57 | const dragleave = (e: DragEvent, id: string) => { |
| 58 | if (!containerState.isDesignMode) return; |
| 59 | if (!(e.currentTarget as HTMLElement)?.contains(e.relatedTarget as HTMLLIElement)) { |
| 60 | removeDragClass(e.target as HTMLElement); |
| 61 | } |
| 62 | e.preventDefault(); |
| 63 | }; |
| 64 | |
| 65 | const dragstart = (e: DragEvent, id: string) => { |
| 66 | if (!containerState.isDesignMode) return; |
nothing calls this directly
no test coverage detected