MCPcopy Index your code
hub / github.com/adobe/react-spectrum / insertBefore

Method insertBefore

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

* Inserts items into the list before the item at the given key. * * @param key - The key of the item to insert before. * @param values - The values to insert.

(key: Key, ...values: T[])

Source from the content-addressed store, hash-verified

70 * @param values - The values to insert.
71 */
72 insertBefore(key: Key, ...values: T[]): void;
73
74 /**
75 * Inserts items into the list after the item at the given key.

Callers 15

Hidden.tsxFile · 0.65
onDropFunction · 0.65
onDropFunction · 0.65
onDropFunction · 0.65
ReorderableTableFunction · 0.65
onInsertFunction · 0.65
onInsertFunction · 0.65
BidirectionalDnDListBoxFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected