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

Method firstLayoutCompleted

src/base-element.js:606–608  ·  view source on GitHub ↗

* Called to notify the element that the first layout has been successfully * completed. * * The default behavior of this method is to hide the placeholder. However, * a subclass may choose to hide placeholder earlier or not hide it at all. * * @public

()

Source from the content-addressed store, hash-verified

604 * @public
605 */
606 firstLayoutCompleted() {
607 this.togglePlaceholder(false);
608 }
609
610 /**
611 * Requests the element to stop its activity when the document goes into

Callers 1

layoutCallbackMethod · 0.45

Calls 1

togglePlaceholderMethod · 0.95

Tested by

no test coverage detected