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

Method getResourceId

src/custom-element.js:1549–1551  ·  view source on GitHub ↗

* Returns the resource ID of the element. * @return {number}

()

Source from the content-addressed store, hash-verified

1547 * @return {number}
1548 */
1549 getResourceId() {
1550 return this.getResource_().getId();
1551 }
1552
1553 /**
1554 * The runtime calls this method to determine if {@link layoutCallback}

Callers 6

getAmpAdResourceIdFunction · 0.80
constructorMethod · 0.80
getSessionStorageKey_Method · 0.80
getValueMethod · 0.80

Calls 2

getResource_Method · 0.95
getIdMethod · 0.45

Tested by

no test coverage detected