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

Method completeExpand

src/service/resource.js:561–564  ·  view source on GitHub ↗

* Completes expand: ensures that the element is not `display:none` and * updates measurements.

()

Source from the content-addressed store, hash-verified

559 * updates measurements.
560 */
561 completeExpand() {
562 toggle(this.element, true);
563 this.requestMeasure();
564 }
565
566 /**
567 * @return {boolean}

Callers 3

test-resource.jsFile · 0.80
expandElementMethod · 0.80
expandElementMethod · 0.80

Calls 2

requestMeasureMethod · 0.95
toggleFunction · 0.90

Tested by

no test coverage detected