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

Method getFallback

src/custom-element.js:1962–1964  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1960 * @package @final
1961 */
1962 getFallback() {
1963 return query.childElementByAttr(this, 'fallback');
1964 }
1965
1966 /**
1967 * Hides or shows the fallback, if available. This function must only

Callers 1

toggleFallbackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected