Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ampproject/amphtml
/ onVisibilityChanged_
Method
onVisibilityChanged_
src/service/vsync-impl.js:155–159 ·
view source on GitHub ↗
@private
()
Source
from the content-addressed store, hash-verified
153
154
/** @private */
155
onVisibilityChanged_() {
156
if
(this.scheduled_) {
157
this.forceSchedule_();
158
}
159
}
160
161
/**
162
* Runs vsync task: measure followed by mutate.
Callers
nothing calls this directly
Calls
1
forceSchedule_
Method · 0.95
Tested by
no test coverage detected