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

Method whenWindowLoaded

src/friendly-iframe-embed.js:448–450  ·  view source on GitHub ↗

* Returns a promise that will resolve when the child window's `onload` event * has been emitted. In friendly iframes this typically only includes font * loading. * @return {!Promise}

()

Source from the content-addressed store, hash-verified

446 * @return {!Promise}
447 */
448 whenWindowLoaded() {
449 return this.winLoadedPromise_;
450 }
451
452 /**
453 * Returns a promise that will resolve when the initial load of the embed's

Callers 2

makeFieVisible_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected