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

Method deref

src/core/data-structures/dom-based-weakref.js:40–42  ·  view source on GitHub ↗

@return {Element|undefined}

()

Source from the content-addressed store, hash-verified

38
39 /** @return {Element|undefined} */
40 deref() {
41 return this.win.document.getElementById(this.id_) || undefined;
42 }
43}

Calls 1

getElementByIdMethod · 0.45

Tested by

no test coverage detected