MCPcopy Create free account
hub / github.com/ampproject/amphtml / immediateTriggerCondition_

Method immediateTriggerCondition_

src/chunk.js:260–264  ·  view source on GitHub ↗

@override

()

Source from the content-addressed store, hash-verified

258
259 /** @override */
260 immediateTriggerCondition_() {
261 // Run in a micro task when the doc is visible. Otherwise, run after
262 // having yielded to the event queue once.
263 return this.isVisible_();
264 }
265
266 /** @override */
267 useRequestIdleCallback_() {

Callers

nothing calls this directly

Calls 1

isVisible_Method · 0.95

Tested by

no test coverage detected