Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/adobe/react-spectrum
/ handleCustomEvent
Function
handleCustomEvent
packages/dev/s2-docs/src/SearchMenuTrigger.tsx:131–133 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
129
};
130
131
let handleCustomEvent = () => {
132
open(
''
);
133
};
134
135
document.addEventListener(
'keydown'
, handleKeyDown);
136
window.addEventListener(
'show-search-menu'
, handleCustomEvent);
Callers
nothing calls this directly
Calls
1
open
Function · 0.50
Tested by
no test coverage detected