Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Datakitpage/Datakit
/ handler
Function
handler
frontend/src/hooks/useMediaQuery.ts:18–18 ·
view source on GitHub ↗
(event: MediaQueryListEvent)
Source
from the content-addressed store, hash-verified
16
17
// Create event listener for changes
18
const
handler = (event: MediaQueryListEvent) => setMatches(event.matches);
19
20
// Add event listener (modern browsers)
21
mediaQuery.addEventListener(
'change'
, handler);
Callers
1
handleKeyDown
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected