MCPcopy Create free account
hub / github.com/ampproject/amphtml / update_

Method update_

ads/inabox/position-observer.js:72–74  ·  view source on GitHub ↗

* Updates viewport rect.

()

Source from the content-addressed store, hash-verified

70 * Updates viewport rect.
71 */
72 update_() {
73 this.viewportRect_ = this.getViewportRect();
74 }
75
76 /**
77 * @param {!Element} element

Callers 1

observeMethod · 0.95

Calls 1

getViewportRectMethod · 0.95

Tested by

no test coverage detected