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

Method getLayoutPriority

src/service/resource.js:270–275  ·  view source on GitHub ↗

* Returns the resource's element priority. * @return {number}

()

Source from the content-addressed store, hash-verified

268 * @return {number}
269 */
270 getLayoutPriority() {
271 if (this.priorityOverride_ != -1) {
272 return this.priorityOverride_;
273 }
274 return this.element.getLayoutPriority();
275 }
276
277 /**
278 * Overrides the element's priority.

Callers 2

schedule_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected