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

Function endDragging

packages/react-aria/src/dnd/DragManager.ts:121–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119}
120
121function endDragging() {
122 dragSession = null;
123 for (let cb of subscriptions) {
124 cb();
125 }
126}
127
128export function isValidDropTarget(element: Element): boolean {
129 for (let target of dropTargets.keys()) {

Callers 1

endMethod · 0.70

Calls 1

cbFunction · 0.70

Tested by

no test coverage detected