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

Method buildCallback

src/base-element.js:429–431  ·  view source on GitHub ↗

* Override in subclass if the element needs to rebuilt its DOM content. * Until the element has been rebuilt its content are not shown with an only * exception of [placeholder] elements. From the moment the element is created * and until the building phase is complete it will have "amp-notb

()

Source from the content-addressed store, hash-verified

427 * @return {!Promise|undefined}
428 */
429 buildCallback() {
430 // Subclasses may override.
431 }
432
433 /**
434 * Called by the framework to give the element a chance to preconnect to

Callers 1

buildInternalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected