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

Method add

src/service/resources-interface.js:74–74  ·  view source on GitHub ↗

* Signals that an element has been added to the DOM. Resources manager * will start tracking it from this point on. * @param {!AmpElement} element

(element)

Source from the content-addressed store, hash-verified

72 * @param {!AmpElement} element
73 */
74 add(element) {}
75
76 /**
77 * Signals that an element has been upgraded to the DOM. Resources manager

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected