Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ getData
Method
getData
packages/react-aria/test/dnd/mocks.js:125–127 ·
view source on GitHub ↗
(type)
Source
from the content-addressed store, hash-verified
123
}
124
125
getData(
type
) {
126
return
this.items._items.find(item => item.kind ===
'string'
&& item.
type
===
type
)?._data;
127
}
128
129
clearData(
type
) {
130
if
(
type
) {
Callers
3
onPaste
Function · 0.80
readFromDataTransfer
Function · 0.80
TokenField.tsx
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected