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

Method schedulePreload

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

* Schedules preload for the specified sub-elements that are children of the * parent element. The parent element may choose to send this signal either * because it's an owner (see setOwner) or because it wants the * preloads to be done sooner. In either case, both parent's and child

(parentElement, subElements)

Source from the content-addressed store, hash-verified

21 * @param {!Element|!Array<!Element>} subElements
22 */
23 schedulePreload(parentElement, subElements) {}
24
25 /**
26 * Schedules layout 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