Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ onLongPress
Function
onLongPress
packages/react-aria/src/menu/useMenuTrigger.ts:118–120 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
116
state.close();
117
},
118
onLongPress() {
119
state.open(
'first'
);
120
}
121
});
122
123
let
pressProps: PressProps = {
Callers
nothing calls this directly
Calls
1
open
Method · 0.65
Tested by
no test coverage detected