MCPcopy
hub / github.com/react-dnd/react-dnd / Backend

Interface Backend

packages/dnd-core/src/interfaces.ts:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17export interface Backend {
18 setup(): void
19 teardown(): void
20 connectDragSource(sourceId: any, node?: any, options?: any): Unsubscribe
21 connectDragPreview(sourceId: any, node?: any, options?: any): Unsubscribe
22 connectDropTarget(targetId: any, node?: any, options?: any): Unsubscribe
23 profile(): Record<string, number>
24}
25
26export interface DragDropMonitor {
27 subscribeToStateChange(

Callers 10

DragDropManagerImplClass · 0.65
DragDropManagerImplClass · 0.65
reconnectDragSourceMethod · 0.65
reconnectDragPreviewMethod · 0.65
reconnectMethod · 0.65
ProfilerFunction · 0.65

Implementers 3

TestBackendImplpackages/backend-test/src/TestBackend.
TouchBackendImplpackages/backend-touch/src/TouchBacken
HTML5BackendImplpackages/backend-html5/src/HTML5Backen

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…