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

Method setOwner

src/service/owners-interface.js:12–12  ·  view source on GitHub ↗

* Assigns an owner for the specified element. This means that the resources * within this element will be managed by the owner and not Resources manager. * @param {!Element} element * @param {!AmpElement} owner

(element, owner)

Source from the content-addressed store, hash-verified

10 * @param {!AmpElement} owner
11 */
12 setOwner(element, owner) {}
13
14 /**
15 * Schedules preload for the specified sub-elements that are children of the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected