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

Method getLayoutPriority

src/custom-element.js:457–461  ·  view source on GitHub ↗

* Get the priority to load the element. * @return {number} * TODO(#31915): remove once R1 migration is complete.

()

Source from the content-addressed store, hash-verified

455 * TODO(#31915): remove once R1 migration is complete.
456 */
457 getLayoutPriority() {
458 return this.impl_
459 ? this.impl_.getLayoutPriority()
460 : LayoutPriority_Enum.BACKGROUND;
461 }
462
463 /**
464 * Get the default action alias.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected