MCPcopy Create free account

hub / github.com/AdolescentJou/react-dnd-demo / functions

Functions63 in github.com/AdolescentJou/react-dnd-demo

↓ 2 callersFunctiondrop
(_item: any, monitor: any)
src/components/arbitrarilyDrag/Classification.tsx:8
↓ 2 callersFunctionisSelectItem
(id: any)
src/components/multiDrag/Drag.tsx:60
↓ 2 callersMethodremoveDropItemById
(itemId: any, dropCardList: any)
src/components/cardAssemble/index.tsx:88
↓ 2 callersFunctionupdateList
(each: any)
src/components/multiDrag/Drag.tsx:45
↓ 1 callersFunctioncanMoveKnight
(toX: number, toY: number, knightPosition: [number, number])
src/components/Chess/utils.ts:1
↓ 1 callersMethoddragItemBack
(dragId: number)
src/components/cardAssemble/index.tsx:77
↓ 1 callersFunctiongetItemStyles
( initialOffset: XYCoord | null, currentOffset: XYCoord | null, isSnapToGrid: boolean )
src/components/dragPreviewDom/customDragerLayer.tsx:21
↓ 1 callersFunctionhandleChangeRoute
(url: string)
src/components/base/nav/index.tsx:9
↓ 1 callersMethodremoveDragItemById
(itemId: any, dragCardList: any)
src/components/cardAssemble/index.tsx:103
↓ 1 callersMethodrender
()
src/components/Chess/index.tsx:18
↓ 1 callersFunctionrenderItem
()
src/components/dragPreviewDom/customDragerLayer.tsx:59
↓ 1 callersFunctionrenderPiece
(x: any, y: any, knightPosition = [])
src/components/Chess/board.tsx:19
↓ 1 callersFunctionrenderSquare
(i: any, knightPosition: any, moveKnight: any)
src/components/Chess/board.tsx:7
↓ 1 callersFunctionreportWebVitals
(onPerfEntry?: ReportHandler)
src/reportWebVitals.ts:3
↓ 1 callersFunctionsnapToGrid
(x: number, y: number)
src/components/dragPreviewDom/customDragerLayer.tsx:5
FunctionApp
({ ...props })
src/components/App.tsx:7
FunctionBoard
({ knightPosition, moveKnight }: any)
src/components/Chess/board.tsx:26
FunctionBoardSquare
({ x, y, knightPosition, children, moveKnight }: any)
src/components/Chess/boardSquare.tsx:24
FunctionBox
({ bg, text, dropCardList, updateDragAndDrop }: any)
src/components/listSort/box.tsx:7
FunctionCard
({ bg, text, index, moveCard, id, updateDragAndDrop, dropCardList }: any)
src/components/listSort/card.tsx:11
FunctionCard
({ text, id, index, changePosition }: any)
src/components/cardSort/card.tsx:4
FunctionClassification
({ type, title }: any)
src/components/arbitrarilyDrag/Classification.tsx:4
FunctionCustomDragLayer
(props: any)
src/components/dragPreviewDom/customDragerLayer.tsx:49
FunctionDrag
()
src/components/multiDrag/Drag.tsx:23
FunctionDragCard
({ text, id, index, updateDragAndDrop, isHovering }: any)
src/components/cardAssemble/dragCard.tsx:4
FunctionDragPreviewDom
()
src/components/dragPreviewDom/dragPreviewDom.tsx:5
FunctionDragPreviewImg
()
src/components/dragPreviewImg/dragPreviewImg.tsx:5
FunctionDragSquare
({ dragCardList, updateDragAndDrop }: any)
src/components/cardAssemble/dragSquare.tsx:3
FunctionDragSquare
({ dragCardList, dropCardList, updateDragAndDrop }: any)
src/components/listSort/dragSquare.tsx:3
FunctionDropPlace
({ innerDrag, updateCardList, index, id, updateDragAndDrop }: any)
src/components/cardAssemble/dropPlace.tsx:4
FunctionDropSquare
({ dropCardList, updateDragAndDrop }: any)
src/components/cardAssemble/dropSquare.tsx:2
FunctionDropSquare
({ dropCardList, updateDragAndDrop }: any)
src/components/listSort/dropSquare.tsx:6
FunctionDropSquare
({ dropCardList, updateDragAndDrop }: any)
src/components/multiDrag/Drop.tsx:3
FunctionKnight
()
src/components/Chess/knight.tsx:5
FunctionNav
()
src/components/base/nav/index.tsx:6
FunctionOverlay
({ color }: any)
src/components/Chess/boardSquare.tsx:7
FunctionSquare
({ black, children }: any)
src/components/Chess/square.tsx:3
FunctionWord
({ type, text, id, ...props }: any)
src/components/arbitrarilyDrag/word.tsx:4
MethodchangePosition
(dragIndex: string | number, hoverIndex: string | number)
src/components/cardSort/index.tsx:43
MethodcomponentDidMount
()
src/components/cardSort/index.tsx:39
Methodconstructor
(props: any)
src/components/cardAssemble/index.tsx:40
Methodconstructor
(props: any)
src/components/arbitrarilyDrag/index.tsx:40
Methodconstructor
(props: any)
src/components/dragPreviewDom/index.tsx:9
Methodconstructor
(props: any)
src/components/listSort/index.tsx:18
Methodconstructor
(props: any)
src/components/Chess/index.tsx:6
Methodconstructor
(props: any)
src/components/dragPreviewImg/index.tsx:8
Methodconstructor
(props: any)
src/components/multiDrag/index.tsx:8
Methodconstructor
(props: any)
src/components/cardSort/index.tsx:31
Functionend
(item, monitor)
src/components/arbitrarilyDrag/word.tsx:10
Functionend
(item: any, monitor: DragSourceMonitor)
src/components/listSort/card.tsx:23
Functionend
(_: unknown, monitor: DragSourceMonitor)
src/components/listSort/box.tsx:29
Functionhover
(item: any, monitor: DropTargetMonitor)
src/components/listSort/card.tsx:40
Functionitem
()
src/components/listSort/box.tsx:19
MethodmoveKnight
(toX: number, toY: number)
src/components/Chess/index.tsx:14
Methodrender
()
src/components/cardAssemble/index.tsx:115
Methodrender
()
src/components/arbitrarilyDrag/index.tsx:45
Methodrender
()
src/components/dragPreviewDom/index.tsx:14
Methodrender
()
src/components/listSort/index.tsx:31
Methodrender
()
src/components/dragPreviewImg/index.tsx:13
Methodrender
()
src/components/multiDrag/index.tsx:13
Methodrender
()
src/components/cardSort/index.tsx:52
MethodupdateDragAndDrop
(dragId: any, dropId?: any)
src/components/cardAssemble/index.tsx:49
MethodupdateDragAndDrop
(newCardList: any)
src/components/listSort/index.tsx:27