MCPcopy
hub / github.com/ai/visibilityjs / onBlur

Function onBlur

lib/visibility.fallback.js:40–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 fireEvent();
39 };
40 var onBlur = function () {
41 document.hidden = true;
42 document.visibilityState = 'hidden';
43 fireEvent();
44 }
45
46 if ( document.addEventListener ) {
47 window.addEventListener('focus', onFocus, true);

Callers

nothing calls this directly

Calls 1

fireEventFunction · 0.85

Tested by

no test coverage detected