MCPcopy Create free account
hub / github.com/dailydotdev/apps / onPageShow

Function onPageShow

packages/shared/src/features/monetization/useViewability.ts:173–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 evaluate();
172 };
173 const onPageShow = () => {
174 pageHidden = false;
175 evaluate();
176 };
177 observer.observe(element);
178 globalThis.document.addEventListener('visibilitychange', evaluate);
179 globalThis.addEventListener('blur', evaluate);

Callers

nothing calls this directly

Calls 1

evaluateFunction · 0.70

Tested by

no test coverage detected