MCPcopy
hub / github.com/ampproject/amphtml / getFriendlyIframeEmbedOptional

Function getFriendlyIframeEmbedOptional

src/iframe-helper.js:589–593  ·  view source on GitHub ↗
(iframe)

Source from the content-addressed store, hash-verified

587 * @return {?./friendly-iframe-embed.FriendlyIframeEmbed}
588 */
589export function getFriendlyIframeEmbedOptional(iframe) {
590 return /** @type {?./friendly-iframe-embed.FriendlyIframeEmbed} */ (
591 iframe[FIE_EMBED_PROP]
592 );
593}
594
595/**
596 * @param {!Element} element

Callers 6

createVisibilityManagerFunction · 0.90
findRoot_Method · 0.90
getMediaBySelector_Method · 0.90
buildCallbackMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected