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

Method moveBefore

packages/react-stately/src/data/useListData.ts:123–123  ·  view source on GitHub ↗

* Moves one or more items before a given key. * * @param key - The key of the item to move the items before. * @param keys - The keys of the items to move.

(key: Key, keys: Iterable<Key>)

Source from the content-addressed store, hash-verified

121 * @param keys - The keys of the items to move.
122 */
123 moveBefore(key: Key, keys: Iterable<Key>): void;
124
125 /**
126 * Moves one or more items after a given key.

Callers 15

onMoveFunction · 0.65
onMoveFunction · 0.65
ReorderableTableFunction · 0.65
onReorderFunction · 0.65
onMoveFunction · 0.65
onReorderFunction · 0.65
TreeDragAndDropExampleFunction · 0.65
SecondTreeFunction · 0.65
onReorderFunction · 0.65
BidirectionalDnDListBoxFunction · 0.65

Calls

no outgoing calls

Tested by 1

onMoveFunction · 0.52