MCPcopy
hub / github.com/ampproject/amphtml / getLayoutBox

Method getLayoutBox

src/custom-element.js:1497–1499  ·  view source on GitHub ↗

* Returns a previously measured layout box adjusted to the viewport. This * mainly affects fixed-position elements that are adjusted to be always * relative to the document position in the viewport. * @return {!./layout-rect.LayoutRectDef} * @final

()

Source from the content-addressed store, hash-verified

1495 * @final
1496 */
1497 getLayoutBox() {
1498 return this.getResource_().getLayoutBox();
1499 }
1500
1501 /**
1502 * Returns a previously measured layout size.

Callers 1

Calls 1

getResource_Method · 0.95

Tested by

no test coverage detected