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

Method onMeasure

src/custom-element.js:968–975  ·  view source on GitHub ↗

* Calls onLayoutMeasure() on the BaseElement implementation. * Should only be called by Resources.

()

Source from the content-addressed store, hash-verified

966 * Should only be called by Resources.
967 */
968 onMeasure() {
969 devAssert(this.isBuilt());
970 try {
971 this.impl_.onLayoutMeasure();
972 } catch (e) {
973 reportError(e, this);
974 }
975 }
976
977 /**
978 * @return {?Element}

Callers 1

updateLayoutBoxMethod · 0.95

Calls 4

isBuiltMethod · 0.95
devAssertFunction · 0.90
reportErrorFunction · 0.90
onLayoutMeasureMethod · 0.45

Tested by

no test coverage detected