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

Method moveBefore

packages/react-stately/src/data/useTreeData.ts:124–124  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected