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

Method createImpl_

src/custom-element.js:1579–1586  ·  view source on GitHub ↗

* @return {!Promise<!./base-element.BaseElement>} * @private

()

Source from the content-addressed store, hash-verified

1577 * @private
1578 */
1579 createImpl_() {
1580 return this.signals_
1581 .whenSignal(CommonSignals_Enum.READY_TO_UPGRADE)
1582 .then(() => {
1583 this.tryUpgrade_();
1584 return this.whenUpgraded();
1585 });
1586 }
1587
1588 /**
1589 * Returns the object which holds the API surface (the thing we add the

Callers 2

buildInternalMethod · 0.95
getImplMethod · 0.95

Calls 4

tryUpgrade_Method · 0.95
whenUpgradedMethod · 0.95
whenSignalMethod · 0.80
thenMethod · 0.45

Tested by

no test coverage detected