Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ampproject/amphtml
/ whenUpgraded
Method
whenUpgraded
src/custom-element.js:352–354 ·
view source on GitHub ↗
@return {!Promise}
()
Source
from the content-addressed store, hash-verified
350
351
/** @
return
{!Promise} */
352
whenUpgraded() {
353
return
this.signals_.whenSignal(CommonSignals_Enum.UPGRADED);
354
}
355
356
/**
357
* Upgrades the element to the provided
new
implementation. If element
Callers
1
createImpl_
Method · 0.95
Calls
1
whenSignal
Method · 0.80
Tested by
no test coverage detected