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

Method getBuildPriority

src/base-element.js:204–206  ·  view source on GitHub ↗

* This is the element's build priority. * * The lower the number, the higher the priority. * * The default priority for base elements is LayoutPriority_Enum.CONTENT. * * @param {!AmpElement} unusedElement * @return {number} *

(unusedElement)

Source from the content-addressed store, hash-verified

202 *
203 */
204 static getBuildPriority(unusedElement) {
205 return LayoutPriority_Enum.CONTENT;
206 }
207
208 /**
209 * Called by the framework to give the element a chance to preconnect to

Callers 3

test-amp-img-v1.jsFile · 0.45
maybeBuild_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected