Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ onPageHide
Function
onPageHide
packages/shared/src/features/monetization/useViewability.ts:169–172 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
167
);
168
169
const
onPageHide = () => {
170
pageHidden = true;
171
evaluate();
172
};
173
const
onPageShow = () => {
174
pageHidden = false;
175
evaluate();
Callers
nothing calls this directly
Calls
1
evaluate
Function · 0.70
Tested by
no test coverage detected