MCPcopy Create free account
hub / github.com/adobe/react-spectrum / onDropEnter

Function onDropEnter

packages/react-aria/src/dnd/useDrop.ts:396–399  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

394 element: ref.current,
395 getDropOperation: getDropOperationKeyboard,
396 onDropEnter(e) {
397 setDropTarget(true);
398 onDropEnter(e);
399 },
400 onDropExit(e) {
401 setDropTarget(false);
402 onDropExit(e);

Callers 1

setTargetFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected