MCPcopy Index your code
hub / github.com/react-dnd/react-dnd / addTarget

Method addTarget

packages/dnd-core/src/interfaces.ts:108–108  ·  view source on GitHub ↗
(type: TargetType, target: DropTarget)

Source from the content-addressed store, hash-verified

106export interface HandlerRegistry {
107 addSource(type: SourceType, source: DragSource): Identifier
108 addTarget(type: TargetType, target: DropTarget): Identifier
109 containsHandler(handler: DragSource | DropTarget): boolean
110 getSource(sourceId: Identifier, includePinned?: boolean): DragSource
111 getSourceType(sourceId: Identifier): SourceType

Callers 3

registerTargetFunction · 0.65

Implementers 1

HandlerRegistryImplpackages/dnd-core/src/classes/HandlerR

Calls

no outgoing calls

Tested by

no test coverage detected