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

Method getBody

src/service/ampdoc-impl.js:493–495  ·  view source on GitHub ↗

* Returns the ampdoc's body. Requires the body to already be available. * * See `isBodyAvailable` and `waitForBodyOpen`. * * @return {!Element}

()

Source from the content-addressed store, hash-verified

491 * @return {!Element}
492 */
493 getBody() {
494 return /** @type {?} */ (devAssert(null, 'not implemented'));
495 }
496
497 /**
498 * Returns a promise that will be resolved when the ampdoc's body is

Callers 4

shouldAppendExtraParamsFunction · 0.45
isStoryDocumentFunction · 0.45
constructorMethod · 0.45

Calls 1

devAssertFunction · 0.90

Tested by

no test coverage detected