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

Function getIframe

test/unit/test-intersection-observer-polyfill.js:35–39  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

33 let testIframe;
34
35 function getIframe(src) {
36 const i = document.createElement('iframe');
37 i.src = src;
38 return i;
39 }
40
41 function insert(iframe) {
42 document.body.appendChild(iframe);

Calls

no outgoing calls

Tested by

no test coverage detected