MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / onDrop

Method onDrop

frontend/layout/lib/layoutModel.ts:1385–1391  ·  view source on GitHub ↗

* Callback that is invoked when a drag operation completes and the pending action should be committed.

()

Source from the content-addressed store, hash-verified

1383 * Callback that is invoked when a drag operation completes and the pending action should be committed.
1384 */
1385 onDrop() {
1386 if (this.getter(this.pendingTreeAction.currentValueAtom)) {
1387 this.treeReducer({
1388 type: LayoutTreeActionType.CommitPendingAction,
1389 });
1390 }
1391 }
1392
1393 /**
1394 * Callback that is invoked when the TileLayout container is being resized.

Callers 1

TileLayout.tsxFile · 0.80

Calls 1

treeReducerMethod · 0.95

Tested by

no test coverage detected