Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ layoutCallback
Method
layoutCallback
test/unit/test-custom-element.js:61–64 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
testElementCreatePlaceholderCallback();
60
}
61
layoutCallback() {
62
testElementLayoutCallback();
63
return
Promise.resolve();
64
}
65
firstLayoutCompleted() {
66
testElementFirstLayoutCompleted();
67
}
Callers
4
test-custom-element.js
File · 0.45
test-amp-img.js
File · 0.45
getAmpLayout
Function · 0.45
createIframePromise
Function · 0.45
Calls
1
resolve
Method · 0.80
Tested by
no test coverage detected