MCPcopy Create free account
hub / github.com/ampproject/amphtml / readyState

Function readyState

src/preact/component/iframe.js:82–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 () => ({
81 // Standard Bento
82 get readyState() {
83 return loadedRef.current
84 ? ReadyState_Enum.COMPLETE
85 : ReadyState_Enum.LOADING;
86 },
87 get node() {
88 return iframeRef.current;
89 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected