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

Method updateLayoutPriority

src/service/resource.js:281–283  ·  view source on GitHub ↗

* Overrides the element's priority. * @param {number} newPriority

(newPriority)

Source from the content-addressed store, hash-verified

279 * @param {number} newPriority
280 */
281 updateLayoutPriority(newPriority) {
282 this.priorityOverride_ = newPriority;
283 }
284
285 /**
286 * Returns the resource's state. See {@link ResourceState_Enum} for details.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected