MCPcopy Index your code
hub / github.com/ampproject/amphtml / createPlaceholderCallback

Method createPlaceholderCallback

src/base-element.js:502–504  ·  view source on GitHub ↗

* Subclasses can override this method to create a dynamic placeholder * element and return it to be appended to the element. This will only * be called if the element doesn't already have a placeholder. * @return {?Element}

()

Source from the content-addressed store, hash-verified

500 * @return {?Element}
501 */
502 createPlaceholderCallback() {
503 return null;
504 }
505
506 /**
507 * Subclasses can override this method to opt-out of rendering the element

Callers 1

createPlaceholderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected