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

Method constructor

ads/inabox/frame-overlay-manager.js:13–28  ·  view source on GitHub ↗

* @param {!Window} win

(win)

Source from the content-addressed store, hash-verified

11 * @param {!Window} win
12 */
13 constructor(win) {
14 /** @private @const {!Window} */
15 this.win_ = win;
16
17 /** @private {boolean} */
18 this.isExpanded_ = false;
19
20 /** @private {boolean} */
21 this.viewportChangedSinceExpand_ = false;
22
23 // TODO(alanorozco): type
24 /** @private {?} */
25 this.collapsedRect_ = null;
26
27 this.listenToViewportChanges_();
28 }
29
30 /** @private */
31 listenToViewportChanges_() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected