Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ prerenderAllowed
Method
prerenderAllowed
src/preact/base-element.js:125–127 ·
view source on GitHub ↗
@override
()
Source
from the content-addressed store, hash-verified
123
124
/** @override */
125
static prerenderAllowed() {
126
return
!this.usesLoading();
127
}
128
129
/** @override */
130
static previewAllowed() {
Callers
nothing calls this directly
Calls
1
usesLoading
Method · 0.95
Tested by
no test coverage detected