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

Method whenMounted

src/custom-element.js:771–773  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

769 * @return {!Promise}
770 */
771 whenMounted() {
772 return this.signals_.whenSignal(CommonSignals_Enum.MOUNTED);
773 }
774
775 /**
776 * @return {!Promise}

Callers 2

mountMethod · 0.95

Calls 1

whenSignalMethod · 0.80

Tested by

no test coverage detected