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

Method getPlaceholder

src/base-element.js:766–768  ·  view source on GitHub ↗

* Returns an optional placeholder element for this custom element. * @return {?Element} * @public @final

()

Source from the content-addressed store, hash-verified

764 * @public @final
765 */
766 getPlaceholder() {
767 return this.element.getPlaceholder();
768 }
769
770 /**
771 * Hides or shows the placeholder, if available.

Callers 15

test-amp-img.jsFile · 0.45
forAllWithinInternalFunction · 0.45
rerender_Method · 0.45
firstLayoutCompletedMethod · 0.45
buildCallbackMethod · 0.45
isLayoutSupportedMethod · 0.45
layoutCallbackMethod · 0.45
isLayoutSupportedMethod · 0.45
buildCallbackMethod · 0.45
hasBackgroundContent_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected