Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ getBody
Method
getBody
src/service/ampdoc-impl.js:921–923 ·
view source on GitHub ↗
@override
()
Source
from the content-addressed store, hash-verified
919
920
/** @override */
921
getBody() {
922
return
dev().assertElement(this.body_,
'body not available'
);
923
}
924
925
/**
926
* Signals that the shadow doc has a body.
Callers
nothing calls this directly
Calls
2
dev
Function · 0.90
assertElement
Method · 0.80
Tested by
no test coverage detected