MCPcopy
hub / github.com/ampproject/amphtml / whenBuilt

Method whenBuilt

src/custom-element.js:495–497  ·  view source on GitHub ↗

* Returns the promise that's resolved when the element has been built. If * the build fails, the resulting promise is rejected. * @return {!Promise}

()

Source from the content-addressed store, hash-verified

493 * @return {!Promise}
494 */
495 whenBuilt() {
496 return this.signals_.whenSignal(CommonSignals_Enum.BUILT);
497 }
498
499 /**
500 * Requests or requires the element to be built. The build is done by

Callers 3

buildMethod · 0.95
mountMethod · 0.95
ensureLoadedMethod · 0.45

Calls 1

whenSignalMethod · 0.80

Tested by

no test coverage detected