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

Method whenFirstVisible

src/service/viewer-impl.js:468–470  ·  view source on GitHub ↗

* Passthrough for ampdoc visibility state. Only to be used by viewer * integration. * @restricted * TODO(#22733): remove if no longer used by the viewer.

()

Source from the content-addressed store, hash-verified

466 * TODO(#22733): remove if no longer used by the viewer.
467 */
468 whenFirstVisible() {
469 return this.ampdoc.whenFirstVisible();
470 }
471
472 /**
473 * Passthrough for ampdoc visibility state. Only to be used by viewer

Callers 2

visibleOnUserAction_Method · 0.95
constructorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected