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

Method getState

src/service/resource.js:289–291  ·  view source on GitHub ↗

* Returns the resource's state. See ResourceState_Enum for details. * @return {!ResourceState_Enum}

()

Source from the content-addressed store, hash-verified

287 * @return {!ResourceState_Enum}
288 */
289 getState() {
290 return this.state_;
291 }
292
293 /**
294 * Returns whether the resource has been fully built.

Callers 13

test-resource.jsFile · 0.45
test-resources.jsFile · 0.45
ensureLoadedMethod · 0.45
toggleFallbackMethod · 0.45
attachShadowDoc_Method · 0.45
addMethod · 0.45
removeResource_Method · 0.45
doPassMethod · 0.45
discoverWork_Method · 0.45
isLayoutAllowed_Method · 0.45
cleanupTasks_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected