MCPcopy Create free account
hub / github.com/react-dnd/react-dnd / constructor

Method constructor

packages/dnd-core/test/targets.js:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21export class NonDroppableTarget extends DropTarget {
22 constructor() {
23 super();
24 this.didCallDrop = false;
25 this.didCallHover = false;
26 }
27
28 canDrop() {
29 return false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected