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

Method getIntersectionElementLayoutBox

src/base-element.js:838–840  ·  view source on GitHub ↗

* Returns the layout rectangle used for when calculating this element's * intersection with the viewport. * @return {!./layout-rect.LayoutRectDef}

()

Source from the content-addressed store, hash-verified

836 * @return {!./layout-rect.LayoutRectDef}
837 */
838 getIntersectionElementLayoutBox() {
839 return this.getLayoutBox();
840 }
841
842 /**
843 * Collapses the element, setting it to `display: none`, and notifies its

Callers 1

Calls 1

getLayoutBoxMethod · 0.95

Tested by

no test coverage detected